self-hosted-image: use the correct location of the file sudoers
(From OE-Core rev: 2abeafa7a43736d6fd8b8ecb22c6f3c840093870) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a405ca246e
commit
91983593f4
|
@ -50,7 +50,7 @@ fakeroot do_populate_poky_src () {
|
|||
chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky
|
||||
|
||||
# Allow builder to use sudo to setup tap/tun
|
||||
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
|
||||
echo "builder ALL=(ALL) NOPASSWD: ALL" >> ${IMAGE_ROOTFS}/etc/sudoers
|
||||
}
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; "
|
||||
|
|
Loading…
Reference in New Issue