diff options
-rw-r--r-- | recipes-core/images/core-image-rorootfs-overlay-initramfs.bb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/recipes-core/images/core-image-rorootfs-overlay-initramfs.bb b/recipes-core/images/core-image-rorootfs-overlay-initramfs.bb index 4c21555..edb4ed9 100644 --- a/recipes-core/images/core-image-rorootfs-overlay-initramfs.bb +++ b/recipes-core/images/core-image-rorootfs-overlay-initramfs.bb | |||
@@ -3,12 +3,20 @@ DESCRIPTION = "Small image capable of booting a device. The kernel includes \ | |||
3 | the Minimal RAM-based Initial Root Filesystem (initramfs), mounts the root fs \ | 3 | the Minimal RAM-based Initial Root Filesystem (initramfs), mounts the root fs \ |
4 | read only and uses a file system overlay for written data." | 4 | read only and uses a file system overlay for written data." |
5 | 5 | ||
6 | PACKAGE_INSTALL = "initramfs-readonly-rootfs-overlay ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" | 6 | INITRAMFS_SCRIPTS ?= "\ |
7 | initramfs-framework-base \ | ||
8 | initramfs-module-setup-live \ | ||
9 | initramfs-module-udev \ | ||
10 | initramfs-module-install \ | ||
11 | initramfs-module-install-efi \ | ||
12 | " | ||
13 | |||
14 | PACKAGE_INSTALL = "initramfs-readonly-rootfs-overlay ${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" | ||
7 | 15 | ||
8 | # Do not pollute the initrd image with rootfs features | 16 | # Do not pollute the initrd image with rootfs features |
9 | IMAGE_FEATURES = "" | 17 | IMAGE_FEATURES = "" |
10 | 18 | ||
11 | export IMAGE_BASENAME = "core-image-readonly-rootfs-overlay-initramfs" | 19 | export IMAGE_BASENAME = "${MLPREFIX}core-image-rorootfs-overlay-initramfs" |
12 | IMAGE_LINGUAS = "" | 20 | IMAGE_LINGUAS = "" |
13 | 21 | ||
14 | LICENSE = "MIT" | 22 | LICENSE = "MIT" |
@@ -20,3 +28,6 @@ IMAGE_ROOTFS_SIZE = "8192" | |||
20 | IMAGE_ROOTFS_EXTRA_SPACE = "0" | 28 | IMAGE_ROOTFS_EXTRA_SPACE = "0" |
21 | 29 | ||
22 | BAD_RECOMMENDATIONS += "busybox-syslog" | 30 | BAD_RECOMMENDATIONS += "busybox-syslog" |
31 | |||
32 | # Use the same restriction as initramfs-live-install | ||
33 | COMPATIBLE_HOST = "(i.86|x86_64).*-linux" | ||