From: Jonathan Liu Date: Sun, 26 May 2013 06:24:28 +0000 (+1000) Subject: cups: remove /var/run from package as cupsd will populate it on startup X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~37231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af99c290a0f589a5cb1d6426c78804f2d99ae02a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cups: remove /var/run from package as cupsd will populate it on startup The /var/run/cups and /var/run/cups/certs directories don't need to be included in the package as they are created by cupsd with the proper permissions if they don't exist. The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu Signed-off-by: Saul Wold --- diff --git a/meta/recipes-extended/cups/cups16.inc b/meta/recipes-extended/cups/cups16.inc index 9b0ae5b61d2..45e7d517058 100644 --- a/meta/recipes-extended/cups/cups16.inc +++ b/meta/recipes-extended/cups/cups16.inc @@ -53,9 +53,9 @@ do_compile () { fakeroot do_install () { oe_runmake "DSTROOT=${D}" install - # This directory gets installed with perms 511, which makes packaging fail - chmod 0711 "${D}/${localstatedir}/run/cups/certs" - rmdir ${D}/${libdir}/${BPN}/driver + # Remove /var/run from package as cupsd will populate it on startup + rm -fr ${D}/${localstatedir}/run + rmdir ${D}/${libdir}/${BPN}/driver } python do_package_append() {