summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2017-09-15 11:22:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-21 09:24:24 +0100
commitcf166da446603f8a666f77b4c1d05b8c1c8f27a2 (patch)
tree55f227f1eeca979239db2153c30c636024a20066
parentbb503a66dedcb3f3ce263dfc94b5f5cf154007e0 (diff)
downloadpoky-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.bb7
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.
2DESCRIPTION = "Tiny image capable of booting a device. The kernel includes \ 2DESCRIPTION = "Tiny image capable of booting a device. The kernel includes \
3the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \ 3the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \
4first 'init' program more efficiently. core-image-tiny-initramfs doesn't \ 4first 'init' program more efficiently. core-image-tiny-initramfs doesn't \
5actually generate an image but rather generates boot and rootfs artifacts \ 5actually generate an image but rather generates boot and rootfs artifacts \
6into a common location that can subsequently be picked up by external image \ 6that can subsequently be picked up by external image generation tools such as wic."
7generation tools such as wic."
8 7
9PACKAGE_INSTALL = "initramfs-live-boot packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" 8PACKAGE_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 = ""
17LICENSE = "MIT" 16LICENSE = "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
20IMAGE_FSTYPES = "${INITRAMFS_FSTYPES} wic" 19IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
21 20
22inherit core-image 21inherit core-image
23 22