summaryrefslogtreecommitdiff
path: root/scripts/wipe-sysroot
AgeCommit message (Collapse)AuthorFiles
2017-01-26wipe-sysroot: removeRoss Burton1
This script was useful to delete the sysroot so that future builds happen from a clean sysroot. Now that recipes have their own sysroot this script doesn't need to exist anymore, and if in fact if used will break your TMPDIR. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-22wipe-sysroot: fix wrong glob when removing manifestsRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-26scripts/wipe-sysroot: also delete uninative sysrootRoss Burton1
The uninative sysroot is in ${STAGING_DIR}-uninative so delete that alongwith $STAGING_DIR. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-01-02wipe-sysroot: explain what is being deleted, and check for argumentsRoss Burton1
Print the directories that will be deleted, and add a rudimentary check for arguments and display a message if arguments were passed. [ YOCTO #5423 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-20wipe-sysroot: delete pkgdata stampsRoss Burton1
The pkgdata stamps now need to be wiped away if the sysroot is destroyed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-02wipe-sysroot: fix removalsRoss Burton1
The previous changes were totally broken as quoting globs doesn't work. Remove the quotes so the rm commands actually delete the stamps. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16wipe-sysroots: don't assume TMPDIR is under BUILDDIRRoss Burton1
The previous code used the environment variable BUILDDIR and assumed that TMPDIR was a subdirectory. This often isn't the case, so instead ask bitbake where the directories we're about to delete are. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-04scripts/wipe-sysroot: add script to safely wipe the sysrootsRoss Burton1
Add a script to wipe the sysroots and all of the relevant stamps, so that it will be correctly re-populated. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>