Skip to contentSkip to conversation

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

PATCH New Dexuan Cui 1 participant 2 messages Apr 5, 2012

lore
Share & tools
lore

Dexuan Cui

author
#0 lore raw

cover a fix to self-hosted-image: use the correct location of the file sudoers

The following changes since commit 5607729d9901c394b7cd4db6e38fe7fb19116f39:

self-hosted-image: Increase space for build and allow builder user sudo access (2012-04-04 17:17:55 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dcui/master
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (1):
self-hosted-image: use the correct location of the file sudoers

 meta/recipes-core/images/self-hosted-image.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.6
author
#1 lore raw

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

---
 meta/recipes-core/images/self-hosted-image.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-core/images/self-hosted-image.bb +1 -1
index 1db6a7a..d8f4162 100644
@@ -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; "
Signature · 1 line
1.7.6