diff options
| author | unitexe <unitexe70@gmail.com> | 2026-04-19 10:33:33 -0500 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-04-19 11:16:48 -0500 |
| commit | d5cc185b64ed3af195e3ab0af0a8a85d437f1d41 (patch) | |
| tree | 4aee3857db0a1a527eb31e4f689a82a35a22aa6f /meta-unit-core/recipes-core/images/core-image-unit-initramfs.bb | |
| parent | a960f82818f0ad4c4df50efa4cc6540ffa8ee193 (diff) | |
- Update layer compatibility
- Move build configuration into separate kas config fragment
- Move WIC kickstart files
- Switch from linux-raspberrypi 6.12 -> 6.18.21
- Re-work custom kernel logo support
Diffstat (limited to 'meta-unit-core/recipes-core/images/core-image-unit-initramfs.bb')
| -rw-r--r-- | meta-unit-core/recipes-core/images/core-image-unit-initramfs.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-unit-core/recipes-core/images/core-image-unit-initramfs.bb b/meta-unit-core/recipes-core/images/core-image-unit-initramfs.bb new file mode 100644 index 0000000..7c664aa --- /dev/null +++ b/meta-unit-core/recipes-core/images/core-image-unit-initramfs.bb @@ -0,0 +1,31 @@ +SUMMARY = "Initramfs to boot a fully-featured rootfs" +DESCRIPTION = "Small initramfs that contains udev and init to find the real rootfs" +LICENSE = "MIT" + +inherit image + +INITRAMFS_SCRIPTS ?= "\ + initramfs-module-debug \ + initramfs-module-udev \ + initramfs-module-kmod \ +" + +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_FSTYPES:remove:rpi = "wic.zst" +IMAGE_NAME_SUFFIX ?= "" +IMAGE_ROOTFS_SIZE = "24576" +IMAGE_ROOTFS_EXTRA_SPACE = "0" |
