[OE-core] how can i ask to keep all the generated "nativesdk" rpms?

Paul Eggleton paul.eggleton at linux.intel.com
Wed Oct 19 19:39:50 UTC 2016


On Wed, 19 Oct 2016 15:32:25 Robert P. J. Day wrote:
> On Thu, 20 Oct 2016, Paul Eggleton wrote:
> > On Wed, 19 Oct 2016 11:27:05 Robert P. J. Day wrote:
> > > On Wed, 19 Oct 2016, Robert P. J. Day wrote:
> > > >   not sure how dumb a question this is, but as i was doing a basic OE
> > > > 
> > > > build, i saw the growing number of "nativesdk" rpms piling up under
> > > > tmp/deploy/rpm/x86_64_linux, and wanted to examine a couple of them
> > > > later, but after the sysroot was (i assume) populated with all of
> > > > these rpms, that entire directory was deleted.
> > > > 
> > > >   is there a switch to preserve that directory? thanks.
> > >   
> > >   oh, wait, i think i found it:
> > > SDKIMAGE_FEATURES += "package-management"
> > > 
> > > does that look right?
> > 
> > No, it doesn't. That's for turning on package management database in the
> > SDK, which is not quite the same thing. The fact that those rpms are
> > disappearing is a separate issue.
> > 
> > Are you using rm_work?
> 
>   no. and are you sure you're reading the above correctly? i'm not
> saying
> 
>   IMAGE_FEATURES += "package-management"

Yep, I understood.
 
> i was reading this:
> 
> https://patchwork.openembedded.org/patch/120705/
> 
> but perhaps i'm just misinterpreting what i'm reading.

Right - that patch makes the preservation of the package management database 
(what it refers to as the "packaging data") conditional. That code does 
nothing with the packages themselves.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list