mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 14:02:22 +02:00
bitbake: cooker: Sort pn-buildlist
So that we can compare the different pn-buildlist easily. (Bitbake rev: 529043117a7c62feb45bc891658a412cc8dd7e3f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e366c7a671
commit
0884c31b1b
@@ -900,10 +900,11 @@ class BBCooker:
|
||||
|
||||
depgraph = self.generateTaskDepTreeData(pkgs_to_build, task)
|
||||
|
||||
with open('pn-buildlist', 'w') as f:
|
||||
for pn in depgraph["pn"]:
|
||||
f.write(pn + "\n")
|
||||
logger.info("PN build list saved to 'pn-buildlist'")
|
||||
pns = depgraph["pn"].keys()
|
||||
if pns:
|
||||
with open('pn-buildlist', 'w') as f:
|
||||
f.write("%s\n" % "\n".join(sorted(pns)))
|
||||
logger.info("PN build list saved to 'pn-buildlist'")
|
||||
|
||||
# Remove old format output files to ensure no confusion with stale data
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user