diff options
-rw-r--r-- | meta-oe/recipes-printing/gutenprint/gutenprint_git.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-oe/recipes-printing/gutenprint/gutenprint_git.bb b/meta-oe/recipes-printing/gutenprint/gutenprint_git.bb index d86858c85d..f0dc6adea0 100644 --- a/meta-oe/recipes-printing/gutenprint/gutenprint_git.bb +++ b/meta-oe/recipes-printing/gutenprint/gutenprint_git.bb | |||
@@ -51,6 +51,8 @@ do_configure() { | |||
51 | do_install:append() { | 51 | do_install:append() { |
52 | # This file contains build paths and isn't very useful, remove it | 52 | # This file contains build paths and isn't very useful, remove it |
53 | rm -f ${D}${libdir}/gutenprint/*/config.summary | 53 | rm -f ${D}${libdir}/gutenprint/*/config.summary |
54 | # Match ownership to cups | ||
55 | chgrp lp ${D}${sysconfdir}/cups | ||
54 | } | 56 | } |
55 | 57 | ||
56 | do_compile:class-native() { | 58 | do_compile:class-native() { |
@@ -65,8 +67,8 @@ do_install:class-native() { | |||
65 | FILES:${PN} += "${datadir}/cups/*" | 67 | FILES:${PN} += "${datadir}/cups/*" |
66 | RDEPENDS:${PN} = "perl" | 68 | RDEPENDS:${PN} = "perl" |
67 | 69 | ||
68 | # Install in /etc/cups when RPM needs DIRFILES to not conflict | ||
69 | # https://stackoverflow.com/questions/44762430/why-do-i-get-etc-cups-conflicts-between-attempted-installs-in-yocto | ||
70 | DIRFILES = "1" | ||
71 | |||
72 | BBCLASSEXTEND = "native" | 70 | BBCLASSEXTEND = "native" |
71 | |||
72 | # Pull in base-passwd for the lp user | ||
73 | DEPENDS:append:class-target = " base-passwd" | ||
74 | PACKAGE_WRITE_DEPS += "base-passwd" | ||