diff options
author | Ross Burton <ross.burton@intel.com> | 2017-06-26 11:08:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-28 20:55:07 +0100 |
commit | 2065fb7f639b7349d24d5b81693993ee2a53a956 (patch) | |
tree | a8bdfd68ff56c3ebbcd572bf4a0ef5a59a642092 /meta/recipes-extended/cups/cups.inc | |
parent | 3dea09570a0978e74c50d57efedb96ff97889e69 (diff) | |
download | poky-2065fb7f639b7349d24d5b81693993ee2a53a956.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/cups/cups.inc')
-rw-r--r-- | meta/recipes-extended/cups/cups.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index c3fa45941c..38d90b5ea9 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
@@ -79,13 +79,6 @@ do_install () { | |||
79 | fi | 79 | fi |
80 | } | 80 | } |
81 | 81 | ||
82 | python do_package_append() { | ||
83 | import subprocess | ||
84 | # Change permissions back the way they were, they probably had a reason... | ||
85 | workdir = d.getVar('WORKDIR') | ||
86 | subprocess.call('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir, shell=True) | ||
87 | } | ||
88 | |||
89 | PACKAGES =+ "${PN}-lib ${PN}-libimage" | 82 | PACKAGES =+ "${PN}-lib ${PN}-libimage" |
90 | 83 | ||
91 | RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'procps', '', d)}" | 84 | RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'procps', '', d)}" |