From 3029a08744281b3bb27cf81004d0d882dde8112f Mon Sep 17 00:00:00 2001 From: Mihai Lindner Date: Sun, 20 May 2012 13:17:32 +0000 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-extended/sudo/sudo_1.8.4p4.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-extended') 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 } -- cgit v1.2.3-54-g00ecf