diff options
author | Emmanuel Roullit <emmanuel.roullit@gmail.com> | 2018-08-03 22:18:35 +0200 |
---|---|---|
committer | Claudius Heine <ch@denx.de> | 2018-08-13 09:23:46 +0200 |
commit | aed1b3e10d69c937c6e921cd75eef3d47e71026b (patch) | |
tree | 344ad6325c347f6aad2585628e7aa5d9c863cf60 | |
parent | 2a426495fe77330058bc0d6ef98e914649e7b415 (diff) | |
download | meta-readonly-rootfs-overlay-aed1b3e10d69c937c6e921cd75eef3d47e71026b.tar.gz |
image: update overlay initramfs image.
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
-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" | ||