diff options
| author | Saul Wold <sgw@linux.intel.com> | 2012-04-03 17:33:42 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-04 17:17:55 +0100 |
| commit | 5607729d9901c394b7cd4db6e38fe7fb19116f39 (patch) | |
| tree | 96e5c8102eb1b668918cfca8a5f1d5cdfc6851f9 | |
| parent | af74a8f627d8429707524fe7a37c093709752daa (diff) | |
| download | poky-5607729d9901c394b7cd4db6e38fe7fb19116f39.tar.gz | |
self-hosted-image: Increase space for build and allow builder user sudo access1.2_M4.rc2
We need to have about 40G to do a full sato build even with rm_work enabled
Add sudo priveleges inorder to allow the builder user to setup the tap/tun
devices needed by runqemu
(From OE-Core rev: 3e4562500956550dbae5467a5fe9289f1d32f775)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/images/self-hosted-image.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb index 28221892a3..1db6a7a3b2 100644 --- a/meta/recipes-core/images/self-hosted-image.bb +++ b/meta/recipes-core/images/self-hosted-image.bb | |||
| @@ -4,15 +4,12 @@ LICENSE = "MIT" | |||
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
| 5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 6 | 6 | ||
| 7 | PR = "r8" | 7 | PR = "r9" |
| 8 | 8 | ||
| 9 | IMAGE_FEATURES += "x11-mini package-management" | 9 | IMAGE_FEATURES += "x11-mini package-management" |
| 10 | 10 | ||
| 11 | # Ensure there's enough space to do a core-image-minimal build, with rm_work enabled | 11 | # Ensure there's enough space to do a core-image-sato build, with rm_work enabled |
| 12 | IMAGE_ROOTFS_EXTRA_SPACE = "1048576" | 12 | IMAGE_ROOTFS_EXTRA_SPACE = "41943040" |
| 13 | #IMAGE_ROOTFS_EXTRA_SPACE = "2621440" | ||
| 14 | #IMAGE_ROOTFS_EXTRA_SPACE = "20971520" | ||
| 15 | #IMAGE_ROOTFS_EXTRA_SPACE = "5242880" | ||
| 16 | 13 | ||
| 17 | # Do a quiet boot with limited console messages | 14 | # Do a quiet boot with limited console messages |
| 18 | APPEND += "quiet" | 15 | APPEND += "quiet" |
| @@ -50,6 +47,9 @@ fakeroot do_populate_poky_src () { | |||
| 50 | chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo | 47 | chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo |
| 51 | 48 | ||
| 52 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky | 49 | chown -R builder.builder ${IMAGE_ROOTFS}/home/builder/poky |
| 50 | |||
| 51 | # Allow builder to use sudo to setup tap/tun | ||
| 52 | echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers | ||
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " | 55 | IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " |
