diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/cups/cups.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 57cdf2650e..c0765dc743 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc | |||
@@ -64,6 +64,11 @@ do_install () { | |||
64 | rm -fr ${D}/${localstatedir}/run | 64 | rm -fr ${D}/${localstatedir}/run |
65 | rmdir ${D}/${libdir}/${BPN}/driver | 65 | rmdir ${D}/${libdir}/${BPN}/driver |
66 | 66 | ||
67 | # Fix the pam configuration file permissions | ||
68 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then | ||
69 | chmod 0644 ${D}${sysconfdir}/pam.d/cups | ||
70 | fi | ||
71 | |||
67 | # Remove sysinit script and symlinks if sysvinit is not in DISTRO_FEATURES | 72 | # Remove sysinit script and symlinks if sysvinit is not in DISTRO_FEATURES |
68 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','false','true',d)}; then | 73 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','false','true',d)}; then |
69 | rm -rf ${D}${sysconfdir}/init.d/ | 74 | rm -rf ${D}${sysconfdir}/init.d/ |