1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-19 10:35:08 +03:00

Close #194: Aports subfolders! See migration guide in the wiki (#227)

Migration guide:
https://github.com/postmarketOS/pmbootstrap/wiki/Migration-to-aports-subfolders
This commit is contained in:
Oliver Smith 2017-07-28 22:34:40 +00:00 committed by GitHub
parent 6dbf3c7872
commit 314c17e03c
253 changed files with 58 additions and 42 deletions

View file

@ -47,8 +47,8 @@ def test_challenge_build(args):
pmb.build.package(args, pkgname, None, force=True, buildinfo=True)
# Copy it to a temporary path
apkbuild = pmb.parse.apkbuild(args, args.aports + "/" + pkgname +
"/APKBUILD")
aport = pmb.build.other.find_aport(args, "hello-world")
apkbuild = pmb.parse.apkbuild(args, aport + "/APKBUILD")
version = apkbuild["pkgver"] + "-r" + apkbuild["pkgrel"]
temp_path = pmb.chroot.other.tempfolder(args, "/tmp/test_challenge_build/" +
args.arch_native)