summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc8
-rw-r--r--meta/recipes-extended/sudo/sudo_1.8.1p2.bb3
2 files changed, 3 insertions, 8 deletions
diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 72a7c167cd..83dd209afa 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -29,11 +29,3 @@ do_install_prepend (){
29 mkdir -p ${D}/${localstatedir}/lib 29 mkdir -p ${D}/${localstatedir}/lib
30} 30}
31 31
32pkg_postinst_${PN} () {
33 if [ "x$D" != "x" ]; then
34 exit 1
35 fi
36
37 chmod 4111 /usr/bin/sudo
38 chmod 0440 /etc/sudoers
39}
diff --git a/meta/recipes-extended/sudo/sudo_1.8.1p2.bb b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb
index b56829181a..6629d1ef74 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.1p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.1p2.bb
@@ -23,4 +23,7 @@ do_install_append () {
23 break 23 break
24 fi 24 fi
25 done 25 done
26
27 chmod 4111 $D/usr/bin/sudo
28 chmod 0440 $D/etc/sudoers
26} 29}