[oe-commits] Dexuan Cui : self-hosted-image: use the correct location of the file sudoers

git at git.openembedded.org git at git.openembedded.org
Fri Apr 6 00:17:39 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 2abeafa7a43736d6fd8b8ecb22c6f3c840093870
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2abeafa7a43736d6fd8b8ecb22c6f3c840093870

Author: Dexuan Cui <dexuan.cui at intel.com>
Date:   Thu Apr  5 12:00:05 2012 +0800

self-hosted-image: use the correct location of the file sudoers

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 cf3ef5f..d8fd4a9 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -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; "





More information about the Openembedded-commits mailing list