summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/sudo/sudo_1.9.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.9.1.bb b/meta/recipes-extended/sudo/sudo_1.9.1.bb
index aac505af60..d6bc1a9c3a 100644
--- a/meta/recipes-extended/sudo/sudo_1.9.1.bb
+++ b/meta/recipes-extended/sudo/sudo_1.9.1.bb
@@ -22,6 +22,7 @@ CACHED_CONFIGUREVARS = " \
22EXTRA_OECONF += " \ 22EXTRA_OECONF += " \
23 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ 23 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \
24 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ 24 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${nonarch_libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \
25 --with-rundir=/run/sudo \
25 --with-vardir=/var/lib/sudo \ 26 --with-vardir=/var/lib/sudo \
26 " 27 "
27 28
@@ -38,7 +39,7 @@ do_install_append () {
38 chmod 0440 ${D}${sysconfdir}/sudoers 39 chmod 0440 ${D}${sysconfdir}/sudoers
39 40
40 # Explicitly remove the /sudo directory to avoid QA error 41 # Explicitly remove the /sudo directory to avoid QA error
41 rmdir -p --ignore-fail-on-non-empty ${D}/sudo 42 rmdir -p --ignore-fail-on-non-empty ${D}/run/sudo
42} 43}
43 44
44FILES_${PN} += "${nonarch_libdir}/tmpfiles.d" 45FILES_${PN} += "${nonarch_libdir}/tmpfiles.d"