summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 18:14:13 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:58 +0100
commitaa6408b05c5eb17b6e9fc280069f3b15eafbdab0 (patch)
tree38ff8cbf39004e541f808c35e7691b158df76f50
parent9623ccf70221f81861a42cac1eb372d77ea40ba9 (diff)
downloadpoky-aa6408b05c5eb17b6e9fc280069f3b15eafbdab0.tar.gz
consolekit: remove /var/run from package
The /var/run/ConsoleKit directory doesn't need to be included in the package as it is created by console-kit-daemon if it doesn't exist. The /var/run directory is already created by base-files. (From OE-Core rev: a433b86d15321d5061f7bdb9a0f1b4d58de2129c) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/consolekit/consolekit_0.4.5.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
index db4ac00237..7d66b390d4 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
@@ -37,3 +37,8 @@ FILES_${PN}-dbg += "${base_libdir}/security/.debug"
37PACKAGES =+ "pam-plugin-ck-connector" 37PACKAGES =+ "pam-plugin-ck-connector"
38FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so" 38FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so"
39RDEPENDS_pam-plugin-ck-connector += "${PN}" 39RDEPENDS_pam-plugin-ck-connector += "${PN}"
40
41do_install_append() {
42 # Remove /var/run from package as console-kit-daemon will populate it on startup
43 rm -fr "${D}${localstatedir}/run"
44}