aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-10-31 11:35:17 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-11-09 14:47:44 +1300
commit0b6320737dfec208d204273d6dfcc9e8413e94ef (patch)
treeb0f1bd163d47396e5aa496daf0f27639652d2de5
parentcbb9ebdac2b118685be4dd385453a4204e74493b (diff)
downloadopenembedded-core-contrib-0b6320737dfec208d204273d6dfcc9e8413e94ef.tar.gz
openembedded-core-contrib-0b6320737dfec208d204273d6dfcc9e8413e94ef.tar.bz2
openembedded-core-contrib-0b6320737dfec208d204273d6dfcc9e8413e94ef.zip
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 <paul.eggleton@linux.intel.com>
-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 f1b3ff0a997..4cfab0cb193 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)