[oe-commits] Jonathan Liu : consolekit: remove /var/run from package

git at git.openembedded.org git at git.openembedded.org
Wed May 29 21:02:16 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: a433b86d15321d5061f7bdb9a0f1b4d58de2129c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a433b86d15321d5061f7bdb9a0f1b4d58de2129c

Author: Jonathan Liu <net147 at gmail.com>
Date:   Sun May 26 18:14:13 2013 +1000

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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../recipes-support/consolekit/consolekit_0.4.5.bb |    5 +++++
 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 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"
+}



More information about the Openembedded-commits mailing list