summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r--meta/recipes-core/images/core-image-tiny-initramfs.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/images/core-image-tiny-initramfs.bb b/meta/recipes-core/images/core-image-tiny-initramfs.bb
new file mode 100644
index 0000000000..846d58930e
--- /dev/null
+++ b/meta/recipes-core/images/core-image-tiny-initramfs.bb
@@ -0,0 +1,30 @@
1# Simple initramfs image artifact generation for tiny images.
2DESCRIPTION = "Tiny image capable of booting a device. The kernel includes \
3the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \
4first 'init' program more efficiently. core-image-tiny-initramfs doesn't \
5actually generate an image but rather generates boot and rootfs artifacts \
6into a common location that can subsequently be picked up by external image \
7generation tools such as wic."
8
9PACKAGE_INSTALL = "initramfs-live-boot packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
10
11# Do not pollute the initrd image with rootfs features
12IMAGE_FEATURES = ""
13
14export IMAGE_BASENAME = "core-image-tiny-initramfs"
15IMAGE_LINGUAS = ""
16
17LICENSE = "MIT"
18
19# don't actually generate an image, just the artifacts needed for one
20IMAGE_FSTYPES = "${INITRAMFS_FSTYPES} wic"
21
22inherit core-image
23
24IMAGE_ROOTFS_SIZE = "8192"
25IMAGE_ROOTFS_EXTRA_SPACE = "0"
26
27BAD_RECOMMENDATIONS += "busybox-syslog"
28
29# Use the same restriction as initramfs-live-install
30COMPATIBLE_HOST = "(i.86|x86_64).*-linux"