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 /meta/recipes-extended/sudo | |
parent | 2bb6742c94ef76c3b779ebc5344e47bc3f28a13e (diff) | |
download | ast2050-yocto-poky-7191f4b98c0bb9a9d42b9b3e6d298293e96f4152.zip ast2050-yocto-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>
Diffstat (limited to 'meta/recipes-extended/sudo')
-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 dfba7e0..4e4a443 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 @@ 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 } |