diff mbox

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

Message ID 20170626102755.26076-1-ross.burton@intel.com
State Accepted
Commit 4030274eceaf0b95cac5c54c55c3f91ef45fa9b4
Headers show

Commit Message

Ross Burton June 26, 2017, 10:27 a.m. UTC
This directory is deleted by do_install, so luckily the lack of error checking
meant this didn't break.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-extended/cups/cups.inc | 7 -------
 1 file changed, 7 deletions(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox

Patch

diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index c3fa45941c2..38d90b5ea9d 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -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)}"