]> code.ossystems Code Review - openembedded-core.git/commitdiff
consolekit: Fix ${localstatedir} race
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Nov 2011 22:57:47 +0000 (22:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Nov 2011 23:00:19 +0000 (23:00 +0000)
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@linuxfoundation.org>
meta/recipes-support/consolekit/consolekit_0.4.5.bb

index a02203c3d4ef42eb8e2480a8e1d2631e10a8671a..45f6ad35a9a17e612ec2fdff18aafc51a1ff5392 100644 (file)
@@ -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