* how to clean all?
@ 2013-04-27 14:39 Peter Tornel
2013-04-29 5:41 ` Gaurang Shastri
0 siblings, 1 reply; 3+ messages in thread
From: Peter Tornel @ 2013-04-27 14:39 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
Hello,
Sometimes I feel the need to clean everything before building, but I don't want tojust rm my project directory since I want to keep my conf files. What bitbake command can I run to get back to a pristine state (same as after creating project directory and modifying my conf files)?
Regards,
Peter
[-- Attachment #2: Type: text/html, Size: 1393 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to clean all?
2013-04-27 14:39 how to clean all? Peter Tornel
@ 2013-04-29 5:41 ` Gaurang Shastri
2013-04-29 8:31 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Gaurang Shastri @ 2013-04-29 5:41 UTC (permalink / raw)
To: Peter Tornel; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
You can run "bitbake -c clean all" to clean everything or simply you can do
"rm -rf tmp/" directory and you will start from the beginning :)
//Gaurang Shastri
On Sat, Apr 27, 2013 at 8:09 PM, Peter Tornel <petertornel@yahoo.com> wrote:
> Hello,
>
> Sometimes I feel the need to clean everything before building, but I don't
> want to just rm my project directory since I want to keep my conf files. What
> bitbake command can I run to get back to a pristine state (same as after
> creating project directory and modifying my conf files)?
>
> Regards,
>
> Peter
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
[-- Attachment #2: Type: text/html, Size: 2062 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to clean all?
2013-04-29 5:41 ` Gaurang Shastri
@ 2013-04-29 8:31 ` Paul Eggleton
0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2013-04-29 8:31 UTC (permalink / raw)
To: Peter Tornel, Gaurang Shastri; +Cc: yocto
On Monday 29 April 2013 11:11:56 Gaurang Shastri wrote:
> You can run "bitbake -c clean all" to clean everything or simply you can do
> "rm -rf tmp/" directory and you will start from the beginning :)
"bitbake -c clean all" won't work; the syntax would run -c clean on a recipe
called "all" (which doesn't exist). You may be thinking of "bitbake -c
cleanall recipename" which cleans the working directory, sstate packages and
downloaded files for the specified recipe (but not all recipes).
rm -rf tmp/ within your build directory (in the default configuration) will
delete the output files but won't touch your configuration. If you want to start
completely from scratch you would also want to delete the sstate-cache
directory as well, although under normal circumstances there shouldn't be any
need to do that since the system will work out what it can re-use from the
cache and what needs to be rebuilt based on any configuration changes.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-29 8:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-27 14:39 how to clean all? Peter Tornel
2013-04-29 5:41 ` Gaurang Shastri
2013-04-29 8:31 ` Paul Eggleton
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.