From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com ([192.55.52.88]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SFEdA-00087V-BP for openembedded-core@lists.openembedded.org; Wed, 04 Apr 2012 03:03:25 +0200 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 03 Apr 2012 17:54:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="137323658" Received: from unknown (HELO [10.255.12.141]) ([10.255.12.141]) by fmsmga001.fm.intel.com with ESMTP; 03 Apr 2012 17:54:13 -0700 Message-ID: <4F7B9BB5.8060409@linux.intel.com> Date: Tue, 03 Apr 2012 17:54:13 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer References: <1333499919-11883-1-git-send-email-sgw@linux.intel.com> In-Reply-To: <1333499919-11883-1-git-send-email-sgw@linux.intel.com> Cc: paul.eggleton@intel.com Subject: Re: [PATCH] self-hosted-image: Increase space for build and allow builder user sudo access X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2012 01:03:25 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 04/03/2012 05:38 PM, Saul Wold wrote: > 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 > > Signed-off-by: Saul Wold > --- > meta/recipes-core/images/self-hosted-image.bb | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb > index 39f0fc4..46dcc5f 100644 > --- a/meta/recipes-core/images/self-hosted-image.bb > +++ b/meta/recipes-core/images/self-hosted-image.bb > @@ -12,11 +12,8 @@ CORE_IMAGE_EXTRA_INSTALL = "\ > > IMAGE_FEATURES += "x11-mini package-management" > > -# Ensure there's enough space to do a core-image-minimal build, with rm_work enabled > -IMAGE_ROOTFS_EXTRA_SPACE = "1048576" > -#IMAGE_ROOTFS_EXTRA_SPACE = "2621440" > -#IMAGE_ROOTFS_EXTRA_SPACE = "20971520" > -#IMAGE_ROOTFS_EXTRA_SPACE = "5242880" > +# Ensure there's enough space to do a core-image-sato build, with rm_work enabled > +IMAGE_ROOTFS_EXTRA_SPACE = "41943040" > > # Do a quiet boot with limited console messages > APPEND += "quiet" > @@ -54,6 +51,9 @@ fakeroot do_populate_poky_src () { > chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo > > 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 > } > > IMAGE_PREPROCESS_COMMAND += "do_populate_poky_src; " Yup, forgot the PR Bump! It been fixed in mut Sau!