summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihai Lindner <mihaix.lindner@linux.intel.com>2012-05-20 13:17:32 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-14 10:23:47 (GMT)
commit3029a08744281b3bb27cf81004d0d882dde8112f (patch)
tree2ccbfeec33a5b5443fb72d8440c22e8cd444747a
parentd376a4e8f12f534291c1cd3ab7a70375cfb9bf8e (diff)
downloadpoky-3029a08744281b3bb27cf81004d0d882dde8112f.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: 83c5acfe4731990c296be1bf67059452a72f9584) Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/sudo/sudo_1.8.4p4.bb6
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 2315322..20c4a14 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 @@
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}/usr/bin/sudo
28 chmod 0440 $D/etc/sudoers 28 chmod 0440 ${D}/etc/sudoers
29} 29}