diff options
| author | unitexe <unitexe70@gmail.com> | 2026-02-16 22:31:09 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2026-02-16 23:08:43 -0600 |
| commit | f15373f84dd78c128a4379eda6fb241dd8792ffb (patch) | |
| tree | 5c0addbb3844e564edff14b2387a97efc68c2286 /meta-unit-core/recipes-unit/images | |
| parent | 019a45d52dc06c812c3ba74941ee692df6a72e21 (diff) | |
Initramfs with plymouth splash for raspberrypi3-64
Diffstat (limited to 'meta-unit-core/recipes-unit/images')
| -rw-r--r-- | meta-unit-core/recipes-unit/images/core-image-unit-initramfs.bb | 31 | ||||
| -rw-r--r-- | meta-unit-core/recipes-unit/images/unit-image-base.inc | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-unit-core/recipes-unit/images/core-image-unit-initramfs.bb b/meta-unit-core/recipes-unit/images/core-image-unit-initramfs.bb new file mode 100644 index 0000000..7c664aa --- /dev/null +++ b/meta-unit-core/recipes-unit/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" diff --git a/meta-unit-core/recipes-unit/images/unit-image-base.inc b/meta-unit-core/recipes-unit/images/unit-image-base.inc index 23dd8c7..8b8d481 100644 --- a/meta-unit-core/recipes-unit/images/unit-image-base.inc +++ b/meta-unit-core/recipes-unit/images/unit-image-base.inc @@ -9,3 +9,5 @@ IMAGE_INSTALL:append = " packagegroup-unit-utils" # Allow for 4GB of extra space for misc. purposes (ex. container image storage) IMAGE_ROOTFS_EXTRA_SPACE = "4194304" + +IMAGE_FEATURES:append = " splash" |
