summaryrefslogtreecommitdiff
path: root/recipes-extended/sudo/sudo_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/sudo/sudo_%.bbappend')
-rw-r--r--recipes-extended/sudo/sudo_%.bbappend12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-extended/sudo/sudo_%.bbappend b/recipes-extended/sudo/sudo_%.bbappend
new file mode 100644
index 0000000..a1e4b04
--- /dev/null
+++ b/recipes-extended/sudo/sudo_%.bbappend
@@ -0,0 +1,12 @@
+SRC_URI += "file://sudoers.patch \
+ file://privacy"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+
+CONFFILES_${PN} += "${sysconfdir}/sudoers.d/privacy"
+
+do_install_append() {
+ install -D -m 644 ${WORKDIR}/privacy ${D}/${sysconfdir}/sudoers.d
+}
+