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

Robert P. J. Day rpjday at crashcourse.ca
Wed Oct 19 21:34:52 UTC 2016


On Thu, 20 Oct 2016, Paul Eggleton wrote:

> On Wed, 19 Oct 2016 15:42:27 Robert P. J. Day wrote:
> > On Thu, 20 Oct 2016, Paul Eggleton wrote:
> > > 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.
> >
> >   i'm about to create a new project directory as a test ... is there
> > any configuration i should do to try to preserve all those nativesdk
> > rpm files?
>
> I am not aware of any configuration that should control the presence
> or absence of those files. As far as I'm concerned, if they are
> disappearing and you're not doing anything to delete them, that's a
> bug.

  so, i'm home and on a different system about to do a build ...
refresh my memory, where are all those nativesdk rpms supposed to show
up? if memory serves, they were under tmp/deploy/rpm/x86_64_linux.
anything i should set before i attempt a build?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list