From e1f2396f98915eca9945a45bb904585f41239f77 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sun, 26 May 2013 18:14:13 +1000 Subject: [PATCH] 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-support/consolekit/consolekit_0.4.5.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb index db4ac00..7d66b39 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" +} -- 2.7.4