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>
This commit is contained in:
parent
2aa350acca
commit
4bdb3c586f
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue