From patchwork Fri May 25 06:41:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Consolidated,Pull,01/45] sudo: fixed wrong `chmod` path Date: Fri, 25 May 2012 06:41:40 -0000 From: Saul Wold X-Patchwork-Id: 28719 Message-Id: <91d5c1bef273763f0ea8f088dcaade550a85765b.1337927956.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Mihai Lindner 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 --- 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 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 @@ 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 }