mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-28 03:18:21 +01:00
add kernel modules to the initramfs
This commit is contained in:
parent
def53409d3
commit
4c42c6d31d
@ -2,7 +2,7 @@
|
|||||||
DESCRIPTION = "Recovery initramfs image."
|
DESCRIPTION = "Recovery initramfs image."
|
||||||
|
|
||||||
|
|
||||||
PACKAGE_INSTALL = "recovery-boot busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
|
PACKAGE_INSTALL = "recovery-boot kernel-modules busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
|
||||||
|
|
||||||
# Do not pollute the initrd image with rootfs features
|
# Do not pollute the initrd image with rootfs features
|
||||||
IMAGE_FEATURES = ""
|
IMAGE_FEATURES = ""
|
||||||
@ -21,3 +21,9 @@ IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
|||||||
|
|
||||||
# Use the same restriction as initramfs-module-install
|
# Use the same restriction as initramfs-module-install
|
||||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
||||||
|
|
||||||
|
ROOTFS_POSTPROCESS_COMMAND += "clobber_unused"
|
||||||
|
|
||||||
|
clobber_unused () {
|
||||||
|
rm ${IMAGE_ROOTFS}/boot/*
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user