path: root/meta/recipes-core/images
diff options
authorTom Zanussi <>2016-07-12 16:50:03 -0500
committerRichard Purdie <>2017-01-31 14:40:19 +0000
commit97237259a9acb9a1511823914dea52b9719fbafd (patch)
tree68a74371884aa13c89745d89d92e3f9e10e273be /meta/recipes-core/images
parent29e3e2999ae0fd92fd41c2180359e110301a488c (diff)
core-image-tiny-initramfs: Add and image creating image artifacts only
Add an image that simply creates image artifacts using image-live-artifacts support instead of creating an actual image. The image artifacts can then be subsequently assembled by an external tool such as wic to create an actual image. This eliminates redundant image creation when using such tools. Signed-off-by: Alejandro Hernandez <> Signed-off-by: Tom Zanussi <>
Diffstat (limited to 'meta/recipes-core/images')
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/images/ b/meta/recipes-core/images/
new file mode 100644
index 0000000000..846d58930e
--- /dev/null
+++ b/meta/recipes-core/images/
@@ -0,0 +1,30 @@
+# Simple initramfs image artifact generation for tiny images.
+DESCRIPTION = "Tiny image capable of booting a device. The kernel includes \
+the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \
+first 'init' program more efficiently. core-image-tiny-initramfs doesn't \
+actually generate an image but rather generates boot and rootfs artifacts \
+into a common location that can subsequently be picked up by external image \
+generation tools such as wic."
+PACKAGE_INSTALL = "initramfs-live-boot packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
+# Do not pollute the initrd image with rootfs features
+export IMAGE_BASENAME = "core-image-tiny-initramfs"
+# don't actually generate an image, just the artifacts needed for one
+inherit core-image
+BAD_RECOMMENDATIONS += "busybox-syslog"
+# Use the same restriction as initramfs-live-install
+COMPATIBLE_HOST = "(i.86|x86_64).*-linux"