[oe-commits] [openembedded-core] 14/44: devtool: upgrade: fix accidentally swapped parameters

git at git.openembedded.org git at git.openembedded.org
Fri Nov 10 14:45:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 05e2c4ada7083f40866846a21fe76c852f1dfefe
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Tue Oct 31 11:35:17 2017 +1300

    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 at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/lib/devtool/upgrade.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py
index f1b3ff0..4cfab0c 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list