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. (From OE-Core rev: a433b86d15321d5061f7bdb9a0f1b4d58de2129c) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9623ccf702
commit
aa6408b05c
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue