summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-phosphor/recipes-core/systemd/systemd_%.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend
index b09f2e23f8..3663434176 100644
--- a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend
+++ b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend
@@ -26,6 +26,14 @@ FILES:${PN}-catalog-extralocales = "\
${exec_prefix}/lib/systemd/catalog/*.*.catalog \
"
+# udev is added to the USERADD_PACKAGES due to some 'render' group
+# being necessary to create for /dev/dri handling, which we don't
+# have to worry about. A side-effect of this is udev would RDEPEND on
+# 'shadow' which prevents us from putting it into the initramfs. We
+# have plenty of other stuff that RDEPENDS on 'shadow' so, remove udev
+# from USERADD_PACKAGES to get around that.
+USERADD_PACKAGES:remove = "udev"
+
ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init"
ALTERNATIVE_PRIORITY[init] ?= "300"