From 12c132fa16288b29e531d133bcb308a152880481 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 23 Sep 2019 12:26:55 -0700 Subject: obmc-phosphor-initramfs: Remove udev We aren't actually using udev during the initrd stage, and it takes and extra 500KB compressed worth of space in the file. For some reason the udev dependency pulls in the native shadow functionality which we have been implicitly depending on. This explicitly calls out that dependency. (From meta-phosphor rev: 848bfdb10c4d4420a05015b04320a13cf88f631d) Change-Id: I0bc08e602946b2a6dc58da97805db0b5fe0ebd6e Signed-off-by: William A. Kennington III Signed-off-by: Brad Bishop --- meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-phosphor') diff --git a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb index d77f92c480..3f0b3c16fb 100644 --- a/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb +++ b/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Small 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." -PACKAGE_INSTALL = "${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} obmc-phosphor-initfs" +PACKAGE_INSTALL = "${VIRTUAL-RUNTIME_base-utils} base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} obmc-phosphor-initfs" # Do not pollute the initrd image with rootfs features IMAGE_FEATURES = "" @@ -18,6 +18,9 @@ inherit core-image IMAGE_ROOTFS_SIZE = "8192" IMAGE_ROOTFS_EXTRA_SPACE = "0" +# Needed for the set_user_group functions to succeed +DEPENDS += "shadow-native" + PACKAGE_INSTALL_remove = "shadow" PACKAGE_EXCLUDE = "shadow" BAD_RECOMMENDATIONS += "busybox-syslog" -- cgit v1.2.3