[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1755/8267] consolekit: don't ship /var/log/ConsoleKit
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1755/8267] consolekit: don't ship /var/log/ConsoleKit
- Date: Sat, 16 Dec 2017 22:16:19 +0000 (UTC)
commit ce1cf85bd2789f2fa2620134afce3616d5583337
Author: Ross Burton <ross burton intel com>
Date: Fri Aug 5 17:09:34 2016 +0100
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>
.../recipes-support/consolekit/consolekit_0.4.6.bb | 6 +++---
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 2974e36..ceac0fe 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}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]