WIP #64: "lazy reproducible builds"

This commit is contained in:
Oliver Smith 2017-06-05 03:58:45 +02:00
parent 8fcbaec305
commit 63ac1f5f6c
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
10 changed files with 360 additions and 12 deletions

View file

@ -120,9 +120,15 @@ def arguments():
" specific architecture")
build.add_argument("--arch")
build.add_argument("--force", action="store_true")
build.add_argument("--buildinfo", action="store_true")
for action in [checksum, build, menuconfig, parse_apkbuild, aportgen]:
action.add_argument("package")
# Action: challenge
challenge = sub.add_parser("challenge",
help="rebuild a package and diff its contents")
challenge.add_argument("apk")
# Use defaults from the user's config file
args = parser.parse_args()
cfg = pmb.config.load(args)