From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vms173015pub.verizon.net (vms173015pub.verizon.net [206.46.173.15]) by mail.openembedded.org (Postfix) with ESMTP id 9ACF6731A5 for ; Fri, 22 Apr 2016 18:07:37 +0000 (UTC) Received: from vz-proxy-l005.mx.aol.com ([64.236.82.152]) by vms173015.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O61001JXRO5HG30@vms173015.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Fri, 22 Apr 2016 13:07:23 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=Nc0brD34 c=1 sm=1 tr=0 a=a3t/a0oOYlYu/nGe1mf8ZA==:117 a=kj9zAlcOel0A:10 a=kziv93cY1bsA:10 a=Q4-j1AaZAAAA:8 a=zpDRa1i7It4BKQ8PxHwA:9 a=CjuIK1q_8ugA:10 Received: by 100.15.86.14 with SMTP id 29c76dc8; Fri, 22 Apr 2016 18:07:23 GMT Received: by gandalf.denix.org (Postfix, from userid 1000) id 50D24161FC8; Fri, 22 Apr 2016 14:07:17 -0400 (EDT) Date: Fri, 22 Apr 2016 14:07:17 -0400 From: Denys Dmytriyenko To: Paul Eggleton Message-id: <20160422180717.GT16135@denix.org> References: <20160418221455.GJ16135@denix.org> <1968586.YaUkzg8nud@peggleto-mobl.ger.corp.intel.com> <20160419010127.GK16135@denix.org> <1922089.IxRdTHIprx@peggleto-mobl.ger.corp.intel.com> MIME-version: 1.0 In-reply-to: <1922089.IxRdTHIprx@peggleto-mobl.ger.corp.intel.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: openembedded-core@lists.openembedded.org Subject: Re: Package management DB in old-style SDK X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 18:07:39 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline On Tue, Apr 19, 2016 at 01:38:23PM +1200, Paul Eggleton wrote: > On Mon, 18 Apr 2016 21:01:27 Denys Dmytriyenko wrote: > > On Tue, Apr 19, 2016 at 10:35:29AM +1200, Paul Eggleton wrote: > > > Hi Denys, > > > On Mon, 18 Apr 2016 18:14:55 Denys Dmytriyenko wrote: > > > > I'm still using the old-style SDK (meta-toolchain) for our products due > > > > to some code customizations in it and some of our use cases rely on the > > > > opkg package management database being present in sysroots, so packages > > > > can be manipulated in SDK with opkg command. It appears that > > > > /var/lib/opkg is now empty and the package database is no longer > > > > supplied with the SDK. > > > > > > > > I know about the new-style populate_sdk and the even newer Extensible > > > > SDK, but not yet ready to convert our old use cases to that. Since there > > > > were lots of changes around the way SDKs work in OE-Core in the past > > > > couple releases, I'm failing to find the change that causes opkg DB to > > > > be missing from the old style SDK. I'll appreciate any pointers in > > > > helping me debug and/or fix this issue with my SDKs. Thanks. > > > > > > As far as ipk is concerned I think it was this commit: > > > http://cgit.openembedded.org/openembedded-core/commit/?id=c8e0ec2da9ad4c > > > e1c103966906a85f68c15400dd> > > > Unfortunately it wasn't made optional. > > > > Thanks, Paul! > > > > Unfortunately, the change is in the library, which is quite difficult to > > override in another layer... > > > > Will there be any objections for making that change optional with the > > default being like it is now, but with the ability to restore the old way > > with a variable? > > As long as we make it have the same effect across the three different package > managers, no objection from me at least. Thinking about it we could even make > it switch based on package-management being in SDKIMAGE_FEATURES and then it > would be consistent with how it works for images as well. Hi, Paul, I submitted a patch yesterday to make the discussed change - can you please review and provide feedback? Thanks. -- Denys