[oe-commits] org.oe.dev dbus 1.1.4 fix permissions of dbus system bus activation helper binary

mickeyl commit openembedded-commits at lists.openembedded.org
Wed Feb 20 05:57:07 UTC 2008


dbus 1.1.4 fix permissions of dbus system bus activation helper binary
* with this revision, system bus activation finally works

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: f420342c9230f797ad60970b1ebb928ace988339
ViewMTN: http://monotone.openembedded.org/revision/info/f420342c9230f797ad60970b1ebb928ace988339
Files:
1
packages/dbus/dbus.inc
packages/dbus/dbus_1.1.4.bb
Diffs:

#
# mt diff -r5b8dc55c719f3e596cc40c070d9b83dcd6e0e8c9 -rf420342c9230f797ad60970b1ebb928ace988339
#
# 
# 
# patch "packages/dbus/dbus.inc"
#  from [afa9d185f101fddb15e7fc80aa75db16945c0520]
#    to [841819e6fcb66b9b194b83aa29fec8029bca31db]
# 
# patch "packages/dbus/dbus_1.1.4.bb"
#  from [13d62bf774c4fbb379fe51e709aa9044ae5084e9]
#    to [4586c438a647255b3ee0c4705493aa5f104d5d63]
# 
============================================================
--- packages/dbus/dbus.inc	afa9d185f101fddb15e7fc80aa75db16945c0520
+++ packages/dbus/dbus.inc	841819e6fcb66b9b194b83aa29fec8029bca31db
@@ -1,5 +1,6 @@
+DESCRIPTION = "A message bus system for inter-process communication"
 HOMEPAGE = "http://dbus.freedesktop.org"
-DESCRIPTION = "Message bus system for applications to talk to one another"
+SECTION = "base"
 LICENSE = "GPL"
 DEPENDS = "expat glib-2.0 virtual/libintl"
 
@@ -56,14 +57,21 @@ grep -q netdev: /etc/group || addgroup n
 chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER"
 
 grep -q netdev: /etc/group || addgroup netdev
-
+chmod u+s /usr/libexec/dbus-daemon-launch-helper
 }
 
-EXTRA_OECONF = "--disable-qt --disable-qt3  --disable-gtk --disable-tests \
-		--disable-checks --disable-xml-docs --disable-doxygen-docs \
-		--with-xml=expat --without-x"
+EXTRA_OECONF = "\
+  --disable-qt \
+  --disable-qt3 \
+  --disable-gtk \
+  --disable-tests \
+  --disable-checks \
+  --disable-xml-docs \
+  --disable-doxygen-docs \
+  --with-xml=expat \
+  --without-x \
+"
 
-
 do_stage() {
 	oe_libinstall -so -C dbus libdbus-1 ${STAGING_LIBDIR}
 
@@ -76,4 +84,6 @@ do_install_append() {
 do_install_append() {
 	install -d ${D}${sysconfdir}/init.d
 	install -m 0755 ${WORKDIR}/dbus-1.init ${D}${sysconfdir}/init.d/dbus-1
+	# the stock install seems to install the libtool wrapper script, so we have to copy this manually :M:
+	install -m 0755 bus/.libs/dbus-daemon-launch-helper ${D}${libexecdir}/
 }
============================================================
--- packages/dbus/dbus_1.1.4.bb	13d62bf774c4fbb379fe51e709aa9044ae5084e9
+++ packages/dbus/dbus_1.1.4.bb	4586c438a647255b3ee0c4705493aa5f104d5d63
@@ -1,3 +1,3 @@ include dbus.inc
 include dbus.inc
 
+PR = "r2"
-PR = "r1"






More information about the Openembedded-commits mailing list