forked from brl/citadel
23 lines
494 B
BlitzBasic
23 lines
494 B
BlitzBasic
|
|
DESCRIPTION = "Kernel modules"
|
|
LICENSE = "MIT"
|
|
|
|
PACKAGE_INSTALL = "kernel-modules"
|
|
|
|
CITADEL_IMAGE_VERSION = "${CITADEL_IMAGE_VERSION_modules}"
|
|
CITADEL_IMAGE_TYPE = "modules"
|
|
|
|
require citadel-image.inc
|
|
inherit citadel-image
|
|
|
|
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
|
|
}
|