aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/wipe-sysroot
AgeCommit message (Collapse)Author
2016-01-26scripts/wipe-sysroot: also delete uninative sysrootRoss Burton
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 Burton
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 Burton
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 Burton
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 Burton
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 Burton
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>