mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d376a4e8f1
commit
3029a08744
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user