mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +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."
|
||||
|
||||
|
||||
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
|
||||
IMAGE_FEATURES = ""
|
||||
@ -20,4 +20,10 @@ IMAGE_ROOTFS_SIZE = "8192"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
||||
|
||||
# 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