diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2017-09-15 11:22:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-21 09:24:24 +0100 |
commit | cf166da446603f8a666f77b4c1d05b8c1c8f27a2 (patch) | |
tree | 55f227f1eeca979239db2153c30c636024a20066 | |
parent | bb503a66dedcb3f3ce263dfc94b5f5cf154007e0 (diff) | |
download | poky-cf166da446603f8a666f77b4c1d05b8c1c8f27a2.tar.gz |
core-image-tiny-initramfs: initramfs recipes should not generate an actual image file
core-image-tiny-initramfs was used to generate a wic image, which was conceptually wrong
since initrafms recipes should only generate the boot artifacts that can later be used
by another recipe to generate an image using the tool of their choice.
(From OE-Core rev: 2a4c65636821be48a8e585491bec40b5048be25d)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/images/core-image-tiny-initramfs.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-core/images/core-image-tiny-initramfs.bb b/meta/recipes-core/images/core-image-tiny-initramfs.bb index 184727ddf7..a8893d1e53 100644 --- a/meta/recipes-core/images/core-image-tiny-initramfs.bb +++ b/meta/recipes-core/images/core-image-tiny-initramfs.bb | |||
@@ -1,10 +1,9 @@ | |||
1 | # Simple initramfs image artifact generation for tiny images. | 1 | # Simple initramfs image artifact generation for tiny images. |
2 | DESCRIPTION = "Tiny image capable of booting a device. The kernel includes \ | 2 | DESCRIPTION = "Tiny image capable of booting a device. The kernel includes \ |
3 | the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \ | 3 | the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \ |
4 | first 'init' program more efficiently. core-image-tiny-initramfs doesn't \ | 4 | first 'init' program more efficiently. core-image-tiny-initramfs doesn't \ |
5 | actually generate an image but rather generates boot and rootfs artifacts \ | 5 | actually generate an image but rather generates boot and rootfs artifacts \ |
6 | into a common location that can subsequently be picked up by external image \ | 6 | that can subsequently be picked up by external image generation tools such as wic." |
7 | generation tools such as wic." | ||
8 | 7 | ||
9 | PACKAGE_INSTALL = "initramfs-live-boot packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" | 8 | PACKAGE_INSTALL = "initramfs-live-boot packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" |
10 | 9 | ||
@@ -17,7 +16,7 @@ IMAGE_LINGUAS = "" | |||
17 | LICENSE = "MIT" | 16 | LICENSE = "MIT" |
18 | 17 | ||
19 | # don't actually generate an image, just the artifacts needed for one | 18 | # don't actually generate an image, just the artifacts needed for one |
20 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES} wic" | 19 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" |
21 | 20 | ||
22 | inherit core-image | 21 | inherit core-image |
23 | 22 | ||