diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2017-11-22 09:09:30 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-02 11:25:33 +0000 |
commit | 885ff683f0498adf404d87efb6a20c08484a73bd (patch) | |
tree | 579f1978d40b6bfc7f880617cd1166f399907be4 /meta/recipes-core/images | |
parent | 9ffe68280ff21218cffdd09946d91ae29cbec12a (diff) | |
download | poky-885ff683f0498adf404d87efb6a20c08484a73bd.tar.gz |
initramfs-live-boot-tiny: Create the initramfs-live-boot-tiny recipe
The original initramfs-live-boot recipe RDEPENDS on udev, which is ok since
the init script relies some of its functionality on udevadm and such,
but on core-image-tiny-initramfs the init script simply drops to shell
after a basic setup, so udev is not needed.
This patch splits up an initramfs-live-boot-tiny recipe which does not
use udev, but uses busybox-mdev instead, eudev installed about 600
extra Kilobytes to core-image-tiny-initramfs userspace, by avoiding to
install eudev we achieve an even smaller footprint (almost 40% smaller).
(From OE-Core rev: 7725bad91b89a291a7099b2d99789a86b028f329)
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>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r-- | meta/recipes-core/images/core-image-tiny-initramfs.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/images/core-image-tiny-initramfs.bb b/meta/recipes-core/images/core-image-tiny-initramfs.bb index 16995e6580..51d08a0cd1 100644 --- a/meta/recipes-core/images/core-image-tiny-initramfs.bb +++ b/meta/recipes-core/images/core-image-tiny-initramfs.bb | |||
@@ -5,7 +5,7 @@ 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 | that can subsequently be picked up by external image generation tools such as wic." | 6 | that can subsequently be picked up by external image generation tools such as wic." |
7 | 7 | ||
8 | 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-tiny packagegroup-core-boot dropbear ${VIRTUAL-RUNTIME_base-utils} ${VIRTUAL-RUNTIME_dev_manager} base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" |
9 | 9 | ||
10 | # Do not pollute the initrd image with rootfs features | 10 | # Do not pollute the initrd image with rootfs features |
11 | IMAGE_FEATURES = "" | 11 | IMAGE_FEATURES = "" |