]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
packagegroup-core-lsb/-x11-sato: no udev-extraconf in case of systemd
authorChen Qi <Qi.Chen@windriver.com>
Wed, 24 Oct 2018 06:11:50 +0000 (14:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Oct 2018 13:36:34 +0000 (14:36 +0100)
The automount udev rule in udev-extraconf is likely to cause conflicts
or failures in case of systemd. We are seeing errors like below for
qemu bsps.

  run-media-hdc.mount loaded failed failed /run/media/hdc

So do not install udev-extraconf in case of systemd in these two
packagegroups.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb

index 6631547b37f52cf9e9d66ce1d5f57a3e4a10d127..e8dc42159276d508b25e7ea92de017fdb27d2410 100644 (file)
@@ -76,7 +76,7 @@ RDEPENDS_packagegroup-core-sys-extended = "\
     screen \
     setserial \
     sysstat \
-    udev-extraconf \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'udev-extraconf', d)} \
     unzip \
     watchdog \
     wget \
index 2d7feb8788800f8f71cada67811dab3bca3983ce..7e14ece93d13cff8c8c6ba13bfe3682a76e1a1ed 100644 (file)
@@ -33,7 +33,7 @@ RDEPENDS_${PN}-base = "\
     settings-daemon \
     shutdown-desktop \
     ${NETWORK_MANAGER} \
-    udev-extraconf \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'udev-extraconf', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio-server pulseaudio-client-conf-sato pulseaudio-misc', '', d)} \
     "