forked from Mirror/pmbootstrap
Small improvements: * Allow to specify multiple packages to `pmbootstrap parse_apkbuild` * Specifying no package will parse all packages (like kconfig_check) (also `parse_apkbuild`) * JSON output is sorted of `parse_apkbuild` * Make pkgver check optional, so we can disable it in the device wizard test case * Parse_apk* -> apk*_parse * Don't let the user mess with globs (disallow '*' in pkgname)
This commit is contained in:
parent
0bc60138f3
commit
0ae23afa60
5 changed files with 47 additions and 21 deletions
|
@ -87,7 +87,8 @@ def generate(args, monkeypatch, answers):
|
|||
apkbuild_path_linux = (args.aports + "/device/"
|
||||
"linux-testsuite-testdevice/APKBUILD")
|
||||
apkbuild = pmb.parse.apkbuild(args, apkbuild_path)
|
||||
apkbuild_linux = pmb.parse.apkbuild(args, apkbuild_path_linux)
|
||||
apkbuild_linux = pmb.parse.apkbuild(args, apkbuild_path_linux,
|
||||
check_pkgver=False)
|
||||
deviceinfo = pmb.parse.deviceinfo(args, "testsuite-testdevice")
|
||||
return (deviceinfo, apkbuild, apkbuild_linux)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue