diff options
author | Mihai Lindner <mihaix.lindner@linux.intel.com> | 2012-05-20 13:17:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:17:53 +0100 |
commit | 7f3ac86f99daca14ac277ff2485b1e6beac22394 (patch) | |
tree | 63280fcf1bbc0b59755eb40ca356020f44386ab7 /meta/recipes-extended | |
parent | 6b48551ff760e618b4644f95f75fa8e7ca453741 (diff) | |
download | poky-7f3ac86f99daca14ac277ff2485b1e6beac22394.tar.gz |
sudo: fixed wrong `chmod` path
Placed $D between braces ${D} to be correctly expanded to the
workdir path, instead of a path relative to host rootfs.
Currently, bitbake sudo fails on host systems where sudo is not
installed.
(From OE-Core rev: 70562306a051ac93001851213441c9d5d6234517)
Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/sudo/sudo_1.8.4p4.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/sudo/sudo_1.8.4p4.bb b/meta/recipes-extended/sudo/sudo_1.8.4p4.bb index 23153223c7..20c4a14b3c 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.4p4.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.4p4.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}/usr/bin/sudo |
28 | chmod 0440 $D/etc/sudoers | 28 | chmod 0440 ${D}/etc/sudoers |
29 | } | 29 | } |