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>
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
-}
break
fi
done
+
+ chmod 4111 $D/usr/bin/sudo
+ chmod 0440 $D/etc/sudoers
}