diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-05-14 17:29:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-15 23:24:42 +0100 |
commit | 48fc1aac623347eaed87ec640aab0376839569c7 (patch) | |
tree | c9a5194cbb8573c7c0cf76603196ccde67490136 /meta/recipes-core/dbus/dbus.inc | |
parent | 53082b1ae6df280afa9b7548fef93c9409cd7352 (diff) | |
download | poky-48fc1aac623347eaed87ec640aab0376839569c7.tar.gz |
dbus: Update to 1.8.2 version
Upgrade dbus to 1.8.2.
Modify ptest suite to make it enabled on new version.
If systemd in DISTRO_FEATURES, we expect to install dbus systemd
unit files.
Remove unneeded patches since it's included in new version.
Remove unrecognized option: "--with-xml"
[YOCTO #6092]
(From OE-Core rev: 596470547451084944082cbed50351ad0d912255)
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dbus/dbus.inc')
-rw-r--r-- | meta/recipes-core/dbus/dbus.inc | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 4510ae3e95..b3d3834dd0 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc | |||
@@ -17,8 +17,6 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | |||
17 | file://dbus-1.init \ | 17 | file://dbus-1.init \ |
18 | file://os-test.patch \ | 18 | file://os-test.patch \ |
19 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ | 19 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ |
20 | file://Set-correct-address-when-using-address-systemd.patch \ | ||
21 | file://fixed-memory-freeing-if-error-during-listing-service.patch \ | ||
22 | " | 20 | " |
23 | 21 | ||
24 | inherit useradd autotools pkgconfig gettext update-rc.d | 22 | inherit useradd autotools pkgconfig gettext update-rc.d |
@@ -56,6 +54,7 @@ FILES_${PN} = "${bindir}/dbus-daemon* \ | |||
56 | ${bindir}/dbus-send \ | 54 | ${bindir}/dbus-send \ |
57 | ${bindir}/dbus-monitor \ | 55 | ${bindir}/dbus-monitor \ |
58 | ${bindir}/dbus-launch \ | 56 | ${bindir}/dbus-launch \ |
57 | ${bindir}/dbus-run-session \ | ||
59 | ${libexecdir}/dbus* \ | 58 | ${libexecdir}/dbus* \ |
60 | ${sysconfdir} \ | 59 | ${sysconfdir} \ |
61 | ${localstatedir} \ | 60 | ${localstatedir} \ |
@@ -84,7 +83,6 @@ EXTRA_OECONF = "--disable-tests \ | |||
84 | --disable-xml-docs \ | 83 | --disable-xml-docs \ |
85 | --disable-doxygen-docs \ | 84 | --disable-doxygen-docs \ |
86 | --disable-libaudit \ | 85 | --disable-libaudit \ |
87 | --with-xml=expat \ | ||
88 | --disable-systemd" | 86 | --disable-systemd" |
89 | 87 | ||
90 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | 88 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ |
@@ -106,6 +104,16 @@ do_install() { | |||
106 | install -m 0755 ${WORKDIR}/dbus-1.init.sh ${D}${sysconfdir}/init.d/dbus-1 | 104 | install -m 0755 ${WORKDIR}/dbus-1.init.sh ${D}${sysconfdir}/init.d/dbus-1 |
107 | fi | 105 | fi |
108 | 106 | ||
107 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | ||
108 | for i in dbus.target.wants sockets.target.wants multi-user.target.wants; do \ | ||
109 | install -d ${D}${systemd_unitdir}/system/$i; done | ||
110 | install ${B}/bus/dbus.service ${B}/bus/dbus.socket ${D}${systemd_unitdir}/system/ | ||
111 | cd ${D}${systemd_unitdir}/system/dbus.target.wants/ | ||
112 | ln -fs ../dbus.socket ${D}${systemd_unitdir}/system/dbus.target.wants/dbus.socket | ||
113 | ln -fs ../dbus.socket ${D}${systemd_unitdir}/system/sockets.target.wants/dbus.socket | ||
114 | ln -fs ../dbus.service ${D}${systemd_unitdir}/system/multi-user.target.wants/dbus.service | ||
115 | fi | ||
116 | |||
109 | install -d ${D}${sysconfdir}/default/volatiles | 117 | install -d ${D}${sysconfdir}/default/volatiles |
110 | echo "d messagebus messagebus 0755 ${localstatedir}/run/dbus none" \ | 118 | echo "d messagebus messagebus 0755 ${localstatedir}/run/dbus none" \ |
111 | > ${D}${sysconfdir}/default/volatiles/99_dbus | 119 | > ${D}${sysconfdir}/default/volatiles/99_dbus |