Adjust package generation to support kernel only or ramdisk included