summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-05-26 16:24:28 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-29 22:07:57 +0100
commit4bdb3c586f50adcf3076f1af1fcebf0615faa6bd (patch)
treef2417d3ac6ed10a6781eac41f59cf6feb346beef /meta/recipes-extended/cups
parent2aa350acca1c6b6ada6a4508611ce25e9f9576ab (diff)
downloadpoky-4bdb3c586f50adcf3076f1af1fcebf0615faa6bd.tar.gz
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. (From OE-Core rev: af99c290a0f589a5cb1d6426c78804f2d99ae02a) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups')
-rw-r--r--meta/recipes-extended/cups/cups16.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/cups/cups16.inc b/meta/recipes-extended/cups/cups16.inc
index 9b0ae5b61d..45e7d51705 100644
--- a/meta/recipes-extended/cups/cups16.inc
+++ b/meta/recipes-extended/cups/cups16.inc
@@ -53,9 +53,9 @@ do_compile () {
53fakeroot do_install () { 53fakeroot do_install () {
54 oe_runmake "DSTROOT=${D}" install 54 oe_runmake "DSTROOT=${D}" install
55 55
56 # This directory gets installed with perms 511, which makes packaging fail 56 # Remove /var/run from package as cupsd will populate it on startup
57 chmod 0711 "${D}/${localstatedir}/run/cups/certs" 57 rm -fr ${D}/${localstatedir}/run
58 rmdir ${D}/${libdir}/${BPN}/driver 58 rmdir ${D}/${libdir}/${BPN}/driver
59} 59}
60 60
61python do_package_append() { 61python do_package_append() {