mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00: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)
|
depgraph = self.generateTaskDepTreeData(pkgs_to_build, task)
|
||||||
|
|
||||||
with open('pn-buildlist', 'w') as f:
|
pns = depgraph["pn"].keys()
|
||||||
for pn in depgraph["pn"]:
|
if pns:
|
||||||
f.write(pn + "\n")
|
with open('pn-buildlist', 'w') as f:
|
||||||
logger.info("PN build list saved to 'pn-buildlist'")
|
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
|
# Remove old format output files to ensure no confusion with stale data
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user