mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00
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>
This commit is contained in:
parent
f811ac0d16
commit
b199e9ff9f
|
@ -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("}")
|
||||
|
|
Loading…
Reference in New Issue
Block a user