DESCRIPTION = "Resource image containing citadel kernel and kernel modules" LICENSE = "MIT" PACKAGE_INSTALL = "kernel-modules" CITADEL_IMAGE_VERSION = "${CITADEL_IMAGE_VERSION_kernel}" CITADEL_IMAGE_TYPE = "kernel" require citadel-image.inc inherit citadel-image do_rootfs[depends] += "citadel-kernel:do_deploy" 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 }