diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2012-04-05 12:00:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-06 01:12:47 +0100 |
commit | 91983593f49ef8fdc42fb68370becded7f2135f7 (patch) | |
tree | 64cc721d7f1e079b9d36151053c275067a372583 /meta | |
parent | a405ca246e5b9f8846af7dafcc5a9ca62c835e29 (diff) | |
download | poky-91983593f49ef8fdc42fb68370becded7f2135f7.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | 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 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 () { | |||
50 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky | 50 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky |
51 | 51 | ||
52 | # Allow builder to use sudo to setup tap/tun | 52 | # Allow builder to use sudo to setup tap/tun |
53 | echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | 53 | echo "builder ALL=(ALL) NOPASSWD: ALL" >> ${IMAGE_ROOTFS}/etc/sudoers |
54 | } | 54 | } |
55 | 55 | ||
56 | IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " | 56 | IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " |