1
0
forked from brl/citadel

add kernel image to modules resource image rootfs

This commit is contained in:
Bruce Leidl 2019-01-05 22:37:39 -05:00
parent 73ce3a4bb0
commit f8a785e687

View File

@ -10,9 +10,13 @@ CITADEL_IMAGE_TYPE = "modules"
require citadel-image.inc
inherit citadel-image
ROOTFS_POSTPROCESS_COMMAND += "write_manifest_file; "
ROOTFS_POSTPROCESS_COMMAND += "write_manifest_file; copy_kernel; "
write_manifest_file() {
echo "/usr/lib/modules" > ${IMAGE_ROOTFS}/manifest
}
copy_kernel() {
install -d ${IMAGE_ROOTFS}/kernel
install ${DEPLOY_DIR_IMAGE}/bzImage ${IMAGE_ROOTFS}/kernel
}