cups: remove /var/run from package as cupsd will populate it on startup
PATCH 1/1 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 <[email protected]>
--- meta/recipes-extended/cups/cups16.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/cups/cups16.inc +3 -3
@@ -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() {
Signature · 1 line
1.8.2.3