summaryrefslogtreecommitdiff
path: root/meta/recipes-support
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:24 +0100
commita433b86d15321d5061f7bdb9a0f1b4d58de2129c (patch)
tree858f2ff0e7bb383a0be404f35df20d6bcc2e5edf /meta/recipes-support
parent619d78016be8d47691e3b2d218a6b855364541a3 (diff)
downloadopenembedded-core-a433b86d15321d5061f7bdb9a0f1b4d58de2129c.tar.gz
openembedded-core-a433b86d15321d5061f7bdb9a0f1b4d58de2129c.tar.bz2
openembedded-core-a433b86d15321d5061f7bdb9a0f1b4d58de2129c.zip
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. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support')
-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"
PACKAGES =+ "pam-plugin-ck-connector"
FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so"
RDEPENDS_pam-plugin-ck-connector += "${PN}"
+
+do_install_append() {
+ # Remove /var/run from package as console-kit-daemon will populate it on startup
+ rm -fr "${D}${localstatedir}/run"
+}