diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-11-09 17:04:08 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-11 11:01:08 +0000 |
commit | 6d0ad5c31b71c40925b923d487c7af350cb37689 (patch) | |
tree | 3b830880991ec57d844ee152f733cb7541f07ef7 /meta/recipes-extended/sudo/sudo.inc | |
parent | af2a885c9e36a976688dbe0fafff0154ddc7120a (diff) | |
download | poky-6d0ad5c31b71c40925b923d487c7af350cb37689.tar.gz |
sudo: Avoid post install scripts
The post install script was removed, and the install_append updated
to ensure the permissions are set correctly.
(From OE-Core rev: 463e44ae159da2e03369f9ac14843b479de2e43d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo.inc')
-rw-r--r-- | meta/recipes-extended/sudo/sudo.inc | 8 |
1 files changed, 0 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 | ||
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 | } | ||