summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-10-24 14:11:50 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-25 14:36:34 +0100
commitecf1e696a03f11e19247c4f37e17de7084d0056c (patch)
tree9e9aeee1a3e39a790708bd364d4365c784a56077
parentb53d5094d5e05f9c1955c8565d777ad74f668f7e (diff)
downloadopenembedded-core-contrib-ecf1e696a03f11e19247c4f37e17de7084d0056c.tar.gz
openembedded-core-contrib-ecf1e696a03f11e19247c4f37e17de7084d0056c.tar.bz2
openembedded-core-contrib-ecf1e696a03f11e19247c4f37e17de7084d0056c.zip
packagegroup-core-lsb/-x11-sato: no udev-extraconf in case of systemd
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>
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb2
-rw-r--r--meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
index 6631547b37..e8dc421592 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
@@ -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 \
diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
index 2d7feb8788..7e14ece93d 100644
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
+++ b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
@@ -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)} \
"