Cache which packages have been built (#972)

Fixes #968: Dependency calculation took a long time for `postmarketos-ui-plasma-mobile`
This commit is contained in:
Oliver Smith 2017-12-05 23:17:39 +00:00 committed by GitHub
parent ddabc69b8d
commit 96eaf481d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 1 deletions

View file

@ -65,6 +65,7 @@ def test_challenge_build(args):
apk_path + ".buildinfo.json"])
# Challenge, output changes into a file
args.cache["built"] = {}
setattr(args, "output_repo_changes", args.work + "/chroot_native/tmp/"
"test_challenge_build_output.txt")
pmb.challenge.build(args, args.work + "/chroot_native/" + temp_path + "/" +