diff --git a/meta-citadel/recipes-citadel/images/citadel-modules-image.bb b/meta-citadel/recipes-citadel/images/citadel-modules-image.bb index 79ca031..8e821d1 100644 --- a/meta-citadel/recipes-citadel/images/citadel-modules-image.bb +++ b/meta-citadel/recipes-citadel/images/citadel-modules-image.bb @@ -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 +}