Skip to contentSkip to conversation

cups: don't change permissions of /var/run/cups/certs in do_package

PATCH New Ross Burton 1 participant 1 message Jun 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cups: don't change permissions of /var/run/cups/certs in do_package

This directory is deleted by do_install, so luckily the lack of error checking meant this didn't break.

---
 meta/recipes-extended/cups/cups.inc | 7 -------
 1 file changed, 7 deletions(-)
meta/recipes-extended/cups/cups.inc +0 -7
index c3fa45941c2..38d90b5ea9d 100644
@@ -79,13 +79,6 @@ do_install () {
 	fi
 }
 
-python do_package_append() {
-    import subprocess
-    # Change permissions back the way they were, they probably had a reason...
-    workdir = d.getVar('WORKDIR')
-    subprocess.call('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir, shell=True)
-}
-
 PACKAGES =+ "${PN}-lib ${PN}-libimage"
 
 RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'procps', '', d)}"
Signature · 1 line
2.11.0