From 0c52342a2c9ab991f167d846b74219fe391accc2 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Mon, 25 Jun 2018 16:53:45 -0400 Subject: Remove udev-hwdb differently for sumo Yocto 2.5 will bring us a systemd built with meson, so we will no longer be able to use EXTRA_OECONF to prevent inclusion of the udev database in images. Disable it via BAD_RECOMMENDATIONS in the distro configuration instead. Tested: Built a witherspoon image Change-Id: I5eb9239a0f41f65df1823bc4ab6f593a31d2f4ec Signed-off-by: Brad Bishop --- meta-phosphor/conf/distro/include/phosphor-base.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-phosphor/conf') diff --git a/meta-phosphor/conf/distro/include/phosphor-base.inc b/meta-phosphor/conf/distro/include/phosphor-base.inc index 203ed7471..483e92f34 100644 --- a/meta-phosphor/conf/distro/include/phosphor-base.inc +++ b/meta-phosphor/conf/distro/include/phosphor-base.inc @@ -70,3 +70,8 @@ IMAGE_CLASSES_append = " image_types_phosphor" # enabled on a BMC distribution. Silence the emitted # warning. SKIP_META_VIRT_SANITY_CHECK = "1" + +# Skip the udev database by default. It adds around 2MB +# compressed to the root filesystem, and probably doesn't +# make sense on a BMC anyway. +BAD_RECOMMENDATIONS_pn-obmc-phosphor-image = "udev-hwdb" -- cgit v1.2.3