Bug 4922 - There is no clean option for bitbake or a separate util
Summary: There is no clean option for bitbake or a separate util
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low enhancement
Target Milestone: Future
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-26 07:54 UTC by Laszlo Papp
Modified: 2016-04-13 15:22 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Papp 2013-07-26 07:54:15 UTC
I would like to be able to use a tool or an option for the existing bitbake to clean up the build folder in a more professional way than "rm -r" for the selected folders.

There could be even a two-layer support with something like "full/distclean" which wipes everything away, maybe except the config or even that.
Comment 1 Ionel Badisor 2013-08-30 07:04:31 UTC
+1
Comment 2 Laszlo Papp 2014-04-17 10:45:17 UTC
There is something somewhat relevant existing these days:

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-RM_OLD_IMAGE
Comment 3 Richard Purdie 2016-04-13 15:22:56 UTC
Since we have rm_work and RM_OLD_IMAGE we have the start of this functionality. If we need more, we can open specific bugs for those issues but I don't think we need a wrapper for rm.