forked from releng/tooling
ccp: add a component type layer to match critpath
This adds one more layer to the output dict, to match critpath and allow for the possibility that we'll provide info on compose- critical things that *aren't* packages in future (which would make the script name a misnomer, but never mind). Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
a30b8249cb
commit
3f58f4ab5a
1 changed files with 3 additions and 0 deletions
|
|
@ -247,6 +247,9 @@ def output(critpkgs, critsrc, prefixes, source):
|
|||
iscount = len(critsrc[variant][arch]["image"])
|
||||
print(f"Arch: {arch} - buildroot source {brscount}, image source {iscount}")
|
||||
print(f"Total: {len(allcrit)}")
|
||||
# wrap in component type
|
||||
critpkgs = {"rpm": critpkgs}
|
||||
critsrc = {"rpm": critsrc}
|
||||
if source:
|
||||
print(f"Source total: {len(allscrit)}")
|
||||
for prefix in prefixes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue