diff options
author | Jonathan Liu <net147@gmail.com> | 2013-05-26 16:24:28 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-29 22:07:24 +0100 |
commit | af99c290a0f589a5cb1d6426c78804f2d99ae02a (patch) | |
tree | 00e31fb9c60f7ed706df4bca62ee05502561c6ab /meta | |
parent | 533f34c4c4596efbd7798f0819bab9642cc97be2 (diff) | |
download | openembedded-core-af99c290a0f589a5cb1d6426c78804f2d99ae02a.tar.gz openembedded-core-af99c290a0f589a5cb1d6426c78804f2d99ae02a.tar.bz2 openembedded-core-af99c290a0f589a5cb1d6426c78804f2d99ae02a.zip |
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.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/cups/cups16.inc | 6 |
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 () { fakeroot do_install () { oe_runmake "DSTROOT=${D}" install - # This directory gets installed with perms 511, which makes packaging fail - chmod 0711 "${D}/${localstatedir}/run/cups/certs" - rmdir ${D}/${libdir}/${BPN}/driver + # Remove /var/run from package as cupsd will populate it on startup + rm -fr ${D}/${localstatedir}/run + rmdir ${D}/${libdir}/${BPN}/driver } python do_package_append() { |