summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/upgrade.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-10-31 11:35:17 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-11 12:14:26 +0000
commiteda77b320dcb208c850225ae834a515433e09593 (patch)
tree40e919394787bce96d62f3b434ed5c1f4d789a4e /scripts/lib/devtool/upgrade.py
parent202f9af816a7c4398cd4728680d00a0a2dae3b38 (diff)
downloadpoky-eda77b320dcb208c850225ae834a515433e09593.tar.gz
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]. (From OE-Core rev: 05e2c4ada7083f40866846a21fe76c852f1dfefe) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
-rw-r--r--scripts/lib/devtool/upgrade.py2
1 files changed, 1 insertions, 1 deletions
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):
433 copied, config.workspace_path, rd) 433 copied, config.workspace_path, rd)
434 standard._add_md5(config, pn, af) 434 standard._add_md5(config, pn, af)
435 435
436 update_unlockedsigs(basepath, workspace, [pn], args.fixed_setup) 436 update_unlockedsigs(basepath, workspace, args.fixed_setup, [pn])
437 437
438 logger.info('Upgraded source extracted to %s' % srctree) 438 logger.info('Upgraded source extracted to %s' % srctree)
439 logger.info('New recipe is %s' % rf) 439 logger.info('New recipe is %s' % rf)