1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-07-31 05:00:42 +02:00

add initramfs recipe

This commit is contained in:
DanyLE
2023-08-01 12:45:14 +02:00
parent e15b711ca5
commit 0865a5c13b
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,11 @@
DESCRIPTION = "Recovery initramfs image."
INITRAMFS_SCRIPTS ?= "\
initramfs-framework-base \
initramfs-module-udev \
"
PACKAGE_INSTALL = "initramfs-boot busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
@ -20,7 +25,4 @@ 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.*)'
IMAGE_PREPROCESS_COMMAND += "tinyinitrd;"
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'