sudo: use ${bindir} and ${sysconfdir} instead of /usr/bin and /etc
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: a9c73d9d3dd5f7fbee82d7ed3cb88a80aa3cbfbd) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2bb6742c94
commit
7191f4b98c
|
@ -1,6 +1,6 @@
|
|||
require sudo.inc
|
||||
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
|
||||
file://libtool.patch \
|
||||
|
@ -24,6 +24,6 @@ do_install_append () {
|
|||
fi
|
||||
done
|
||||
|
||||
chmod 4111 ${D}/usr/bin/sudo
|
||||
chmod 0440 ${D}/etc/sudoers
|
||||
chmod 4111 ${D}${bindir}/sudo
|
||||
chmod 0440 ${D}${sysconfdir}/sudoers
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue