From c0a8675079b1862155600188c7249ac8a4fa26f7 Mon Sep 17 00:00:00 2001 From: Alexey Min Date: Sun, 9 Jun 2019 17:59:07 +0300 Subject: [PATCH] build/menuconfig: fix kconfig_edit (!1791) This fixes regression from commits 0431a519 and 4daf9916. pmbootstrap kconfig_edit raised an error while trying to checksum a package. Error was: (028793) [16:13:22] ERROR: 'module' object is not callable (028793) [16:13:22] See also: (028793) [16:13:22] Traceback (most recent call last): File "/home/lexx/dev/pmos/pmbootstrap/pmb/__init__.py", line 63, in main getattr(frontend, args.action)(args) File "/home/lexx/dev/pmos/pmbootstrap/pmb/helpers/frontend.py", line 279, in kconfig pmb.build.menuconfig(args, args.package) File "/home/lexx/dev/pmos/pmbootstrap/pmb/build/menuconfig.py", line 158, in menuconfig pmb.build.checksum(args, pkgname) TypeError: 'module' object is not callable The function was renamed, call new function. --- pmb/build/menuconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/build/menuconfig.py b/pmb/build/menuconfig.py index 547236b5..5c632419 100644 --- a/pmb/build/menuconfig.py +++ b/pmb/build/menuconfig.py @@ -155,7 +155,7 @@ def menuconfig(args, pkgname): config = "config-" + apkbuild["_flavor"] + "." + arch target = aport + "/" + config pmb.helpers.run.user(args, ["cp", source, target]) - pmb.build.checksum(args, pkgname) + pmb.build.checksum.update(args, pkgname) # Check config pmb.parse.kconfig.check(args, apkbuild["_flavor"], details=True)