Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | SUMMARY = "Basic initramfs to boot a fully-featured rootfs" |
| 2 | DESCRIPTION = "Small initramfs that contains just udev and init, to find the real rootfs." |
| 3 | LICENSE = "MIT" |
| 4 | |
| 5 | INITRAMFS_SCRIPTS ?= "initramfs-framework-base initramfs-module-udev" |
| 6 | |
| 7 | PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} base-passwd" |
| 8 | |
| 9 | # Ensure the initramfs only contains the bare minimum |
| 10 | IMAGE_FEATURES = "" |
| 11 | IMAGE_LINGUAS = "" |
| 12 | |
| 13 | # Don't allow the initramfs to contain a kernel, as kernel modules will depend |
| 14 | # on the kernel image. |
| 15 | PACKAGE_EXCLUDE = "kernel-image-*" |
| 16 | |
| 17 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" |
| 18 | IMAGE_NAME_SUFFIX ?= "" |
| 19 | IMAGE_ROOTFS_SIZE = "8192" |
| 20 | IMAGE_ROOTFS_EXTRA_SPACE = "0" |
| 21 | |
| 22 | inherit image |