summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Lindner <mihaix.lindner@linux.intel.com>2012-05-20 13:17:32 +0000
committerScott Garman <scott.a.garman@intel.com>2012-06-12 13:29:29 -0700
commit83c5acfe4731990c296be1bf67059452a72f9584 (patch)
treef4f50fd2ae569615a3460930b11b25d985543c52
parentdbb88617576ea9bbeec08f5e5e15c26c4c18347f (diff)
downloadopenembedded-core-83c5acfe4731990c296be1bf67059452a72f9584.tar.gz
openembedded-core-83c5acfe4731990c296be1bf67059452a72f9584.tar.bz2
openembedded-core-83c5acfe4731990c296be1bf67059452a72f9584.zip
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. Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
-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 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 @@
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}/usr/bin/sudo
+ chmod 0440 ${D}/etc/sudoers
}