From: Paul Eggleton Date: Mon, 30 Oct 2017 22:35:17 +0000 (+1300) Subject: devtool: upgrade: fix accidentally swapped parameters X-Git-Tag: uninative-1.8~1147 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=05e2c4ada7083f40866846a21fe76c852f1dfefe;p=openembedded-core.git devtool: upgrade: fix accidentally swapped parameters It appears that when fixing the signature unlocking in OE-Core commit 4e9a0be32fc30fb87d65da7cd1a4015c99533aff I swapped the parameters here and did not test it within the eSDK (it does nothing outside of the eSDK) resulting in a TypeError when devtool upgrade was used in the eSDK. Swap the parameters around to the correct ordering. Fixes [YOCTO #12285]. Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton --- diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index f1b3ff0a99..4cfab0cb19 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py @@ -433,7 +433,7 @@ def upgrade(args, config, basepath, workspace): copied, config.workspace_path, rd) standard._add_md5(config, pn, af) - update_unlockedsigs(basepath, workspace, [pn], args.fixed_setup) + update_unlockedsigs(basepath, workspace, args.fixed_setup, [pn]) logger.info('Upgraded source extracted to %s' % srctree) logger.info('New recipe is %s' % rf)