diff options
author | Javier Martinez Canillas <javier@dowhile0.org> | 2012-08-05 21:48:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-06 15:18:47 +0100 |
commit | 7191f4b98c0bb9a9d42b9b3e6d298293e96f4152 (patch) | |
tree | ec7899f7e083fcf1cbd1cf1f6d50aa94e37d9a2a | |
parent | 2bb6742c94ef76c3b779ebc5344e47bc3f28a13e (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.5p2.bb | 6 |
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 @@ | |||
1 | require sudo.inc | 1 | require sudo.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ | 5 | SRC_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 | } |