summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/sudo.inc
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-11-09 17:04:08 -0600
committerSaul Wold <sgw@linux.intel.com>2011-11-11 00:33:50 -0800
commit463e44ae159da2e03369f9ac14843b479de2e43d (patch)
tree476793a6665f32aa8de483bd107c9928770e4e31 /meta/recipes-extended/sudo/sudo.inc
parent662431ace246e9bb35ad8d0ddd0510193f93517d (diff)
downloadopenembedded-core-463e44ae159da2e03369f9ac14843b479de2e43d.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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo.inc')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc8
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 (){
mkdir -p ${D}/${localstatedir}/lib
}
-pkg_postinst_${PN} () {
- if [ "x$D" != "x" ]; then
- exit 1
- fi
-
- chmod 4111 /usr/bin/sudo
- chmod 0440 /etc/sudoers
-}