diff options
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 8 | ||||
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.3.bb | 5 |
2 files changed, 4 insertions, 9 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 | ||
32 | pkg_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.3.bb b/meta/recipes-extended/sudo/sudo_1.8.3.bb index 0ac0851153..99fe5b91e7 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.3.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.3.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require sudo.inc | 1 | require sudo.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ | 5 | SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ |
6 | file://libtool.patch \ | 6 | file://libtool.patch \ |
@@ -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 | } |