Install latest built version of the package instead of APKBUILD version
This commit is contained in:
parent
840b603953
commit
cce91758a1
|
@ -168,10 +168,9 @@ def replace_aports_packages_with_path(args, packages, suffix, arch):
|
||||||
for package in packages:
|
for package in packages:
|
||||||
aport = pmb.build.find_aport(args, package, False)
|
aport = pmb.build.find_aport(args, package, False)
|
||||||
if aport:
|
if aport:
|
||||||
apkbuild = pmb.parse.apkbuild(args, aport + "/APKBUILD")
|
data_repo = pmb.parse.apkindex.package(args, package, arch, False)
|
||||||
apk_path = ("/mnt/pmbootstrap-packages/" + arch + "/" +
|
apk_path = ("/mnt/pmbootstrap-packages/" + arch + "/" +
|
||||||
package + "-" + apkbuild["pkgver"] + "-r" +
|
package + "-" + data_repo["version"] + ".apk")
|
||||||
apkbuild["pkgrel"] + ".apk")
|
|
||||||
if os.path.exists(args.work + "/chroot_" + suffix + apk_path):
|
if os.path.exists(args.work + "/chroot_" + suffix + apk_path):
|
||||||
package = apk_path
|
package = apk_path
|
||||||
ret.append(package)
|
ret.append(package)
|
||||||
|
|
Loading…
Reference in New Issue