pmbootstrap challenge: Fix location of the "package_split()" function

This commit is contained in:
Oliver Smith 2017-06-11 15:14:26 +02:00
parent 5f747bedcd
commit 7c0c813610
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ import filecmp
import shutil
import pmb.build
import pmb.parse.apkbuild
import pmb.parse.other
def diff_files(tar_a, tar_b, member_a, member_b, name):
@ -112,7 +113,7 @@ def challenge(args, apk_path):
# Parse and install all packages listed in versions
versions = {}
for package in buildinfo["versions"]:
split = pmb.chroot.apk.package_split(package)
split = pmb.parse.other.package_split(package)
pkgname = split["pkgname"]
versions[pkgname] = split
pmb.chroot.apk.install(args, versions.keys())