* [PATCH] consolekit: remove /var/run from package
@ 2013-05-26 8:14 Jonathan Liu
0 siblings, 0 replies; only message in thread
From: Jonathan Liu @ 2013-05-26 8:14 UTC (permalink / raw)
To: openembedded-core
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>
---
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"
+}
--
1.8.2.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-26 8:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-26 8:14 [PATCH] consolekit: remove /var/run from package Jonathan Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.