summaryrefslogtreecommitdiff
path: root/scripts/wipe-sysroot
AgeCommit message (Collapse)AuthorFiles
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>