summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/upgrade.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-03-27 12:29:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-28 11:19:40 +0000
commitb199e9ff9f3d58b3361bf4cc5612cbcb4fbadd7f (patch)
tree9f6c2882d75e8fa19872695633405e4fb3463916 /scripts/lib/devtool/upgrade.py
parentf811ac0d167df1d9b337d137d0213bceb8cf388e (diff)
downloadpoky-b199e9ff9f3d58b3361bf4cc5612cbcb4fbadd7f.tar.gz
scripts/devtool: sort the recipes that need to be upgraded together
Sort the list of recipes for a more visually pleasing display, and to make it easier to compare output from multiple runs. (From OE-Core rev: 561e1996d655147199dc1601b5cba0512042de6b) Signed-off-by: Ross Burton <ross.burton@arm.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 9abf72eccf..0dace1fb24 100644
--- a/scripts/lib/devtool/upgrade.py
+++ b/scripts/lib/devtool/upgrade.py
@@ -670,7 +670,7 @@ def check_upgrade_status(args, config, basepath, workspace):
670 currents = [r for r in recipegroup if r['status'] == 'MATCH'] 670 currents = [r for r in recipegroup if r['status'] == 'MATCH']
671 if len(upgrades) > 1: 671 if len(upgrades) > 1:
672 print("These recipes need to be upgraded together {") 672 print("These recipes need to be upgraded together {")
673 for r in upgrades: 673 for r in sorted(upgrades, key=lambda r:r['pn']):
674 _print_status(r) 674 _print_status(r)
675 if len(upgrades) > 1: 675 if len(upgrades) > 1:
676 print("}") 676 print("}")