summaryrefslogtreecommitdiff
path: root/meta-phosphor/conf
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-06-25 23:53:45 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-06-25 23:57:30 +0300
commit0c52342a2c9ab991f167d846b74219fe391accc2 (patch)
treedd6b911ea3b5c1a0b470a8f667ffb6d4af4a17af /meta-phosphor/conf
parent7f23426cd2cacc41aba67616e8c89e1e9af0951c (diff)
downloadopenbmc-0c52342a2c9ab991f167d846b74219fe391accc2.tar.xz
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 <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/conf')
-rw-r--r--meta-phosphor/conf/distro/include/phosphor-base.inc5
1 files changed, 5 insertions, 0 deletions
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"