summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2007-06-05 14:59:09 +0000
committerDoug Goldstein <cardoe@gentoo.org>2007-06-05 14:59:09 +0000
commitcb756db858289d15b00c04b05e1eaf510ceb14a5 (patch)
treee704868e5b648d8a30ab358f810b0436f073d4d2 /sys-apps
parentbump 3.0a to 3.0a-2 (diff)
downloadgentoo-2-cb756db858289d15b00c04b05e1eaf510ceb14a5.tar.gz
gentoo-2-cb756db858289d15b00c04b05e1eaf510ceb14a5.tar.bz2
gentoo-2-cb756db858289d15b00c04b05e1eaf510ceb14a5.zip
generate the machine-id during pkg_postinst() for users that only use a session bus
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/dbus/ChangeLog6
-rw-r--r--sys-apps/dbus/dbus-1.0.2-r2.ebuild8
2 files changed, 12 insertions, 2 deletions
diff --git a/sys-apps/dbus/ChangeLog b/sys-apps/dbus/ChangeLog
index 3fd76895f391..270c2d1ede1e 100644
--- a/sys-apps/dbus/ChangeLog
+++ b/sys-apps/dbus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/dbus
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.198 2007/05/13 07:12:30 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.199 2007/06/05 14:59:09 cardoe Exp $
+
+ 05 Jun 2007; Doug Goldstein <doug@gentoo.org> dbus-1.0.2-r2.ebuild:
+ generate the machine-id during pkg_postinst() for users that only use a
+ session bus
13 May 2007; Joshua Kinard <kumba@gentoo.org> dbus-1.0.2-r2.ebuild:
Stable on mips, per #174807.
diff --git a/sys-apps/dbus/dbus-1.0.2-r2.ebuild b/sys-apps/dbus/dbus-1.0.2-r2.ebuild
index 11c699229d6a..ac6e91998e56 100644
--- a/sys-apps/dbus/dbus-1.0.2-r2.ebuild
+++ b/sys-apps/dbus/dbus-1.0.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-1.0.2-r2.ebuild,v 1.12 2007/05/13 07:12:30 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-1.0.2-r2.ebuild,v 1.13 2007/06/05 14:59:09 cardoe Exp $
inherit eutils multilib autotools flag-o-matic
@@ -101,6 +101,12 @@ pkg_preinst() {
}
pkg_postinst() {
+ # ensure we create the machine uuid here for people that don't use the
+ # system bus so it would never get created otherwise
+ if [[ ${ROOT} == "/" ]] ; then
+ /usr/bin/dbus-uuidgen --ensure
+ fi
+
elog "To start the D-Bus system-wide messagebus by default"
elog "you should add it to the default runlevel :"
elog "\`rc-update add dbus default\`"