From b199e9ff9f3d58b3361bf4cc5612cbcb4fbadd7f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 27 Mar 2025 12:29:13 +0000 Subject: 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 Signed-off-by: Richard Purdie --- scripts/lib/devtool/upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/devtool/upgrade.py') 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): currents = [r for r in recipegroup if r['status'] == 'MATCH'] if len(upgrades) > 1: print("These recipes need to be upgraded together {") - for r in upgrades: + for r in sorted(upgrades, key=lambda r:r['pn']): _print_status(r) if len(upgrades) > 1: print("}") -- cgit v1.2.3-54-g00ecf