Add argument to zap (-o) older versions of packages from all chroots (#841)

- also moved the mismatch clean (-m) before zapping the chroots
- added confirmation questions to -o and -m
This commit is contained in:
drebrez 2017-11-02 18:33:14 +01:00 committed by Oliver Smith
parent 2b7dbb9433
commit ba3e2f6d26
3 changed files with 35 additions and 8 deletions

View file

@ -221,4 +221,5 @@ def log_distccd(args):
def zap(args):
pmb.chroot.zap(args, packages=args.packages, http=args.http,
mismatch_bins=args.mismatch_bins, distfiles=args.distfiles)
mismatch_bins=args.mismatch_bins, old_bins=args.old_bins,
distfiles=args.distfiles)