summaryrefslogtreecommitdiff
path: root/meta/recipes-support/consolekit
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-08-05 17:09:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-10 10:45:13 +0100
commitc2991efb6f4894061ee99b62cef4024be51dcdbf (patch)
tree396ec91a44b75f18cd446078dbe073b3975b3e77 /meta/recipes-support/consolekit
parent27b285bd641d62f65154e6deec5146c0c8bb1458 (diff)
downloadopenembedded-core-c2991efb6f4894061ee99b62cef4024be51dcdbf.tar.gz
openembedded-core-c2991efb6f4894061ee99b62cef4024be51dcdbf.tar.bz2
openembedded-core-c2991efb6f4894061ee99b62cef4024be51dcdbf.zip
consolekit: don't ship /var/log/ConsoleKit
This directory is created on demand, and won't be visible if /var/log is a tmpfs, so don't bother shipping it. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/consolekit')
-rw-r--r--meta/recipes-support/consolekit/consolekit_0.4.6.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
index 2974e3664a..ceac0fe31a 100644
--- a/meta/recipes-support/consolekit/consolekit_0.4.6.bb
+++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb
@@ -30,7 +30,7 @@ PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/s
PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit"
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir="
-FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \
+FILES_${PN} += "${exec_prefix}/lib/ConsoleKit \
${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \
${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
@@ -45,6 +45,6 @@ do_install_append() {
> ${D}${sysconfdir}/tmpfiles.d/consolekit.conf
fi
- # Remove /var/run from package as console-kit-daemon will populate it on startup
- rm -fr "${D}${localstatedir}/run"
+ # Remove /var/ directories as the daemon creates them as required
+ rm -rf ${D}${localstatedir}
}