mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 21:23:04 +01:00
Add a minimal initramfs image recipe that just contains enough initramfs to find the real root filesystem and pivot to it. BSPs can use MACHINE_EXTRA_RRECOMMENDS to pull in any kernel module packages that are required to bring up the hardware so that the rootfs can be found. (From OE-Core rev: 3e862cddf28e58957b7c6d9c983fdb40eb5442fb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
691 B
BlitzBasic
23 lines
691 B
BlitzBasic
SUMMARY = "Basic initramfs to boot a fully-featured rootfs"
|
|
DESCRIPTION = "Small initramfs that contains just udev and init, to find the real rootfs."
|
|
LICENSE = "MIT"
|
|
|
|
INITRAMFS_SCRIPTS ?= "initramfs-framework-base initramfs-module-udev"
|
|
|
|
PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} base-passwd"
|
|
|
|
# Ensure the initramfs only contains the bare minimum
|
|
IMAGE_FEATURES = ""
|
|
IMAGE_LINGUAS = ""
|
|
|
|
# Don't allow the initramfs to contain a kernel, as kernel modules will depend
|
|
# on the kernel image.
|
|
PACKAGE_EXCLUDE = "kernel-image-*"
|
|
|
|
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
|
IMAGE_NAME_SUFFIX ?= ""
|
|
IMAGE_ROOTFS_SIZE = "8192"
|
|
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
|
|
|
inherit image
|