Implement zapping of apk packages with ver different than aports (466) (#474)

This adds a new option to `zap`: `-m / --mismatch-bins`

When set, any binary apks in the work directory packages folder will be
removed if their version differs from the version in the relevant
APKBUILD in aports.
This commit is contained in:
clayton craft 2017-08-28 13:34:03 -07:00 committed by Oliver Smith
parent 946ba82cd4
commit a9e5b362dc
3 changed files with 35 additions and 2 deletions

View file

@ -164,4 +164,4 @@ def log_distccd(args):
def zap(args):
pmb.chroot.zap(args, packages=args.packages, http=args.http)
pmb.chroot.zap(args, packages=args.packages, http=args.http, mismatch_bins=args.mismatch_bins)