aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorJonas Bonn <jonas@norrbonn.se>2019-01-29 08:24:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-31 23:04:50 +0000
commit1b45725e7c4aeb4da54a71408c30097ea704ee67 (patch)
treee7ebdd2b0f5a6fec4b449ff20e1e623a053a3cbe /meta/recipes-core
parent0990d77d99a9ba81e21961f9633df10ccef4b1a4 (diff)
downloadopenembedded-core-contrib-1b45725e7c4aeb4da54a71408c30097ea704ee67.tar.gz
openembedded-core-contrib-1b45725e7c4aeb4da54a71408c30097ea704ee67.tar.bz2
openembedded-core-contrib-1b45725e7c4aeb4da54a71408c30097ea704ee67.zip
dbus: volatiles are only needed by sysvinit configuration
Signed-off-by: Jonas Bonn <jonas@norrbonn.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/dbus/dbus_1.12.10.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.12.10.bb b/meta/recipes-core/dbus/dbus_1.12.10.bb
index d71f7f7042..d3301278b0 100644
--- a/meta/recipes-core/dbus/dbus_1.12.10.bb
+++ b/meta/recipes-core/dbus/dbus_1.12.10.bb
@@ -120,6 +120,9 @@ do_install() {
install -d ${D}${sysconfdir}/init.d
sed 's:@bindir@:${bindir}:' < ${WORKDIR}/dbus-1.init >${WORKDIR}/dbus-1.init.sh
install -m 0755 ${WORKDIR}/dbus-1.init.sh ${D}${sysconfdir}/init.d/dbus-1
+ install -d ${D}${sysconfdir}/default/volatiles
+ echo "d messagebus messagebus 0755 ${localstatedir}/run/dbus none" \
+ > ${D}${sysconfdir}/default/volatiles/99_dbus
fi
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
@@ -131,10 +134,6 @@ do_install() {
ln -fs ../dbus.service ${D}${systemd_system_unitdir}/multi-user.target.wants/dbus.service
fi
- install -d ${D}${sysconfdir}/default/volatiles
- echo "d messagebus messagebus 0755 ${localstatedir}/run/dbus none" \
- > ${D}${sysconfdir}/default/volatiles/99_dbus
-
mkdir -p ${D}${localstatedir}/lib/dbus