Add pmbootstrap checksum --verify (!1788)

Download all sources and verify their checksums.

This will be used in pmaports.git CI, if ci:skip-build is set in the
commit message (currently it just skips the build, and we don't test if
the source checksums are valid or not).
This commit is contained in:
Oliver Smith 2019-05-19 22:04:55 +02:00
parent 110b5821ac
commit b4c301974e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 22 additions and 4 deletions

View file

@ -119,7 +119,10 @@ def build_init(args):
def checksum(args):
for package in args.packages:
pmb.build.checksum(args, package)
if args.verify:
pmb.build.checksum.verify(args, package)
else:
pmb.build.checksum.check(args, package)
def chroot(args):