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.

(From OE-Core rev: 4030274eceaf0b95cac5c54c55c3f91ef45fa9b4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2017-06-26 11:08:18 +01:00
committed by Richard Purdie
parent 3dea09570a
commit 2065fb7f63

View File

@@ -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)}"