pmb.helpers.frontend: fix wrong package name in kconfig check (!1891)
The kconfig check searches the aport with the "linux-" prefix to the package name passed as argument. This is not working with the full package name like linux-device-name because it searches a linux-linux-device-name and fails.
This commit is contained in:
parent
2933b57f5d
commit
45f5ace1c2
|
@ -259,7 +259,8 @@ def kconfig(args):
|
|||
packages.sort()
|
||||
for package in packages:
|
||||
if not args.force:
|
||||
aport = pmb.helpers.pmaports.find(args, "linux-" + package)
|
||||
pkgname = package if package.startswith("linux-") else "linux-" + package
|
||||
aport = pmb.helpers.pmaports.find(args, pkgname)
|
||||
apkbuild = pmb.parse.apkbuild(args, aport + "/APKBUILD")
|
||||
if "!pmb:kconfigcheck" in apkbuild["options"]:
|
||||
skipped += 1
|
||||
|
|
Loading…
Reference in New Issue