[oe-commits] Richard Purdie : consolekit: Fix ${localstatedir} race
git at git.openembedded.org
git at git.openembedded.org
Wed Nov 30 23:03:32 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 8ed16b26dfefac4b42766b9f7090bb3b76110fe3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8ed16b26dfefac4b42766b9f7090bb3b76110fe3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Wed Nov 30 22:57:47 2011 +0000
consolekit: Fix ${localstatedir} race
The change adding ${localstatedir}/log to the package caused failures
on meta-toolchain-gmae builds since ${localstatedir} might be a
symlink and it can be installation order dependent.
By adding in the RDEPENDS, we defer to base-files to ensure
the layout is correct and that packages install correctly.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../recipes-support/consolekit/consolekit_0.4.5.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
index a02203c..45f6ad3 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
@@ -2,13 +2,14 @@ DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login
HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit"
-PR = "r6"
+PR = "r7"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3"
DEPENDS = "glib-2.0 dbus polkit ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+RDEPENDS_${PN} += "base-files"
inherit gnome
More information about the Openembedded-commits
mailing list