summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/sudo_1.8.5p2.bb
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:47 +0100
commit7191f4b98c0bb9a9d42b9b3e6d298293e96f4152 (patch)
treeec7899f7e083fcf1cbd1cf1f6d50aa94e37d9a2a /meta/recipes-extended/sudo/sudo_1.8.5p2.bb
parent2bb6742c94ef76c3b779ebc5344e47bc3f28a13e (diff)
downloadpoky-7191f4b98c0bb9a9d42b9b3e6d298293e96f4152.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo_1.8.5p2.bb')
-rw-r--r--meta/recipes-extended/sudo/sudo_1.8.5p2.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.5p2.bb b/meta/recipes-extended/sudo/sudo_1.8.5p2.bb
index dfba7e0856..4e4a4436ff 100644
--- a/meta/recipes-extended/sudo/sudo_1.8.5p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.8.5p2.bb
@@ -1,6 +1,6 @@
1require sudo.inc 1require sudo.inc
2 2
3PR = "r0" 3PR = "r1"
4 4
5SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ 5SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
6 file://libtool.patch \ 6 file://libtool.patch \
@@ -24,6 +24,6 @@ do_install_append () {
24 fi 24 fi
25 done 25 done
26 26
27 chmod 4111 ${D}/usr/bin/sudo 27 chmod 4111 ${D}${bindir}/sudo
28 chmod 0440 ${D}/etc/sudoers 28 chmod 0440 ${D}${sysconfdir}/sudoers
29} 29}