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

@ -478,6 +478,9 @@ def arguments():
# Action: checksum / aportgen / build
checksum = sub.add_parser("checksum", help="update aport checksums")
checksum.add_argument("--verify", action="store_true", help="download"
" sources and verify that the checksums of the"
" APKBUILD match, instead of updating them")
aportgen = sub.add_parser("aportgen", help="generate a postmarketOS"
" specific package build recipe (aport/APKBUILD)")
build = sub.add_parser("build", help="create a package for a"