summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
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:46:31 +0100
commitce1cf85bd2789f2fa2620134afce3616d5583337 (patch)
treee813b279c6866d3b813a7ee627e5d771d7ca916c /meta/recipes-support
parent7633b81aac3cc534b5e67deaa0cb3754c7c918f8 (diff)
downloadpoky-ce1cf85bd2789f2fa2620134afce3616d5583337.tar.gz
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. (From OE-Core rev: c2991efb6f4894061ee99b62cef4024be51dcdbf) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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
30PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit" 30PACKAGECONFIG[policykit] = "--with-polkit,--without-polkit,polkit"
31PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir=" 31PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir="
32 32
33FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ 33FILES_${PN} += "${exec_prefix}/lib/ConsoleKit \
34 ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \ 34 ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \
35 ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*" 35 ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
36 36
@@ -45,6 +45,6 @@ do_install_append() {
45 > ${D}${sysconfdir}/tmpfiles.d/consolekit.conf 45 > ${D}${sysconfdir}/tmpfiles.d/consolekit.conf
46 fi 46 fi
47 47
48 # Remove /var/run from package as console-kit-daemon will populate it on startup 48 # Remove /var/ directories as the daemon creates them as required
49 rm -fr "${D}${localstatedir}/run" 49 rm -rf ${D}${localstatedir}
50} 50}