* how to remove all traces of a previous package build?
@ 2009-11-13 10:56 Robert P. J. Day
2009-11-13 11:10 ` Richard Purdie
2009-11-13 11:13 ` Eric Bénard
0 siblings, 2 replies; 6+ messages in thread
From: Robert P. J. Day @ 2009-11-13 10:56 UTC (permalink / raw)
To: OpenEmbedded Development mailing list
surely a dumb question, but what's the recipe for deleting every
trace of a single previous package build, so i know i'm rebuilding it
absolutely from step one? i'll use that to test a rebuild of the
packages that are failing for me.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to remove all traces of a previous package build?
2009-11-13 10:56 how to remove all traces of a previous package build? Robert P. J. Day
@ 2009-11-13 11:10 ` Richard Purdie
2009-11-13 12:00 ` Michael Smith
2009-11-13 11:13 ` Eric Bénard
1 sibling, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2009-11-13 11:10 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2009-11-13 at 05:56 -0500, Robert P. J. Day wrote:
> surely a dumb question, but what's the recipe for deleting every
> trace of a single previous package build, so i know i'm rebuilding it
> absolutely from step one? i'll use that to test a rebuild of the
> packages that are failing for me.
bitbake X -c clean
where X is the package you want to remove.
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to remove all traces of a previous package build?
2009-11-13 10:56 how to remove all traces of a previous package build? Robert P. J. Day
2009-11-13 11:10 ` Richard Purdie
@ 2009-11-13 11:13 ` Eric Bénard
2009-11-13 13:07 ` Przemyslaw Wesolek
1 sibling, 1 reply; 6+ messages in thread
From: Eric Bénard @ 2009-11-13 11:13 UTC (permalink / raw)
To: openembedded-devel
Hi Robert,
Robert P. J. Day a écrit :
> surely a dumb question, but what's the recipe for deleting every
> trace of a single previous package build, so i know i'm rebuilding it
> absolutely from step one? i'll use that to test a rebuild of the
> packages that are failing for me.
>
I think bitbake -c clean package does what you want.
Eric
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to remove all traces of a previous package build?
2009-11-13 11:10 ` Richard Purdie
@ 2009-11-13 12:00 ` Michael Smith
2009-11-13 16:03 ` Chris Conroy
0 siblings, 1 reply; 6+ messages in thread
From: Michael Smith @ 2009-11-13 12:00 UTC (permalink / raw)
To: openembedded-devel
On Fri, 13 Nov 2009, Richard Purdie wrote:
> On Fri, 2009-11-13 at 05:56 -0500, Robert P. J. Day wrote:
> > surely a dumb question, but what's the recipe for deleting every
> > trace of a single previous package build, so i know i'm rebuilding it
> > absolutely from step one? i'll use that to test a rebuild of the
> > packages that are failing for me.
>
> bitbake X -c clean
Then remove all packages under tmp/deploy; also tmp/pkgdata/*/X and
tmp/pkgdata/*/runtime/X*; and tmp/staging/*/*/shlibs/X*. Otherwise you may
get problems if you've switched PACKAGE_ARCH in a recipe, or switched
between packages that provide the same shared library.
I don't think there's a way to remove files from the staging directory.
Maybe with packaged staging?
Mike
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to remove all traces of a previous package build?
2009-11-13 11:13 ` Eric Bénard
@ 2009-11-13 13:07 ` Przemyslaw Wesolek
0 siblings, 0 replies; 6+ messages in thread
From: Przemyslaw Wesolek @ 2009-11-13 13:07 UTC (permalink / raw)
To: openembedded-devel
Eric Bénard wrote:
> Hi Robert,
>
> Robert P. J. Day a écrit :
>> surely a dumb question, but what's the recipe for deleting every
>> trace of a single previous package build, so i know i'm rebuilding it
>> absolutely from step one? i'll use that to test a rebuild of the
>> packages that are failing for me.
>>
> I think bitbake -c clean package does what you want.
Or '-c distclean' if you also want to remove source. :)
Przemek
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: how to remove all traces of a previous package build?
2009-11-13 12:00 ` Michael Smith
@ 2009-11-13 16:03 ` Chris Conroy
0 siblings, 0 replies; 6+ messages in thread
From: Chris Conroy @ 2009-11-13 16:03 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2009-11-13 at 07:00 -0500, Michael Smith wrote:
> On Fri, 13 Nov 2009, Richard Purdie wrote:
>
> > On Fri, 2009-11-13 at 05:56 -0500, Robert P. J. Day wrote:
> > > surely a dumb question, but what's the recipe for deleting every
> > > trace of a single previous package build, so i know i'm rebuilding it
> > > absolutely from step one? i'll use that to test a rebuild of the
> > > packages that are failing for me.
> >
> > bitbake X -c clean
>
> Then remove all packages under tmp/deploy; also tmp/pkgdata/*/X and
> tmp/pkgdata/*/runtime/X*; and tmp/staging/*/*/shlibs/X*. Otherwise you may
> get problems if you've switched PACKAGE_ARCH in a recipe, or switched
> between packages that provide the same shared library.
>
> I don't think there's a way to remove files from the staging directory.
> Maybe with packaged staging?
>
> Mike
I almost wonder if we should consider adding a task which handles the
above in addition to the standard bitbake clean. I was burned a few
weeks ago by having a stale package in my deploy directory that kept
getting chosen over the new one I was building due to some versioning
nastiness. I can see how automatically purging stuff from deploy would
be considered destructive, but IMHO there should be a command which just
nukes every last bit of a package the build system knows about.
--Chris
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-13 16:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-13 10:56 how to remove all traces of a previous package build? Robert P. J. Day
2009-11-13 11:10 ` Richard Purdie
2009-11-13 12:00 ` Michael Smith
2009-11-13 16:03 ` Chris Conroy
2009-11-13 11:13 ` Eric Bénard
2009-11-13 13:07 ` Przemyslaw Wesolek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.