add kernel image to modules resource image rootfs
This commit is contained in:
parent
73ce3a4bb0
commit
f8a785e687
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user