From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com ([143.182.124.21]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QRSTH-0004el-QZ for openembedded-core@lists.openembedded.org; Tue, 31 May 2011 19:11:12 +0200 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 31 May 2011 10:07:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,298,1304319600"; d="scan'208";a="4626954" Received: from unknown (HELO [10.255.13.41]) ([10.255.13.41]) by azsmga001.ch.intel.com with ESMTP; 31 May 2011 10:07:33 -0700 Message-ID: <4DE52054.3070200@linux.intel.com> Date: Tue, 31 May 2011 10:07:32 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc13 Thunderbird/3.1.10 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer References: <1306409375.2525.323.camel@phil-desktop> <1306841498.2525.486.camel@phil-desktop> In-Reply-To: <1306841498.2525.486.camel@phil-desktop> Cc: Phil Blundell Subject: Re: [PATCH v2] rootfs_ipk: delete opkg metadata if package management not required and all packages are configured 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: Tue, 31 May 2011 17:11:12 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/31/2011 04:31 AM, Phil Blundell wrote: > Also remove update-rc.d and base-passwd since their services are no longer required. > This patch message stripped all the information you had in the v1 message. I think that was useful information. Please resend the patch with the full header. Thanks Sau! > Signed-off-by: Phil Blundell > --- > meta/classes/rootfs_ipk.bbclass | 11 +++++++++++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass > index edd84fb..3b4b4da 100644 > --- a/meta/classes/rootfs_ipk.bbclass > +++ b/meta/classes/rootfs_ipk.bbclass > @@ -82,6 +82,17 @@ fakeroot rootfs_ipk_do_rootfs () { > > rm -f ${IMAGE_ROOTFS}${opkglibdir}/lists/* > > + if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then > + if [ $runtime_script_required -eq 0 ]; then > + # All packages were successfully configured. > + # update-rc.d, base-passwd are no further use, remove them now > + opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true > + > + # Also delete the status files > + rm -rf ${IMAGE_ROOTFS}${opkglibdir} > + fi > + fi > + > log_check rootfs > } >