[OE-core] [PATCH 1/1] self-hosted-image: use the correct location of the file sudoers
Dexuan Cui
dexuan.cui at intel.com
Thu Apr 5 04:04:39 UTC 2012
Signed-off-by: Dexuan Cui <dexuan.cui at intel.com>
---
meta/recipes-core/images/self-hosted-image.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
index 1db6a7a..d8f4162 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -49,7 +49,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; "
--
1.7.6
More information about the Openembedded-core
mailing list