aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images/self-hosted-image.bb
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2012-04-05 12:00:05 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-06 01:11:06 +0100
commit2abeafa7a43736d6fd8b8ecb22c6f3c840093870 (patch)
tree634925d00e985a4843b9178e78fdb91eee5feb16 /meta/recipes-core/images/self-hosted-image.bb
parent4df39d673156cc63b94531515d8f92ca4d0da77f (diff)
downloadopenembedded-core-contrib-2abeafa7a43736d6fd8b8ecb22c6f3c840093870.tar.gz
self-hosted-image: use the correct location of the file sudoers
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/recipes-core/images/self-hosted-image.bb')
-rw-r--r--meta/recipes-core/images/self-hosted-image.bb2
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 cf3ef5fd24..d8fd4a963c 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; "