distribution: admit the blueline kernel packages
This commit is contained in:
parent
1fce9d1d54
commit
4934f80e30
4 changed files with 16 additions and 14 deletions
|
|
@ -19,6 +19,11 @@ def main() -> int:
|
|||
parser.add_argument("manifest", type=Path)
|
||||
parser.add_argument("--ready", metavar="PROFILE", help="require one profile to be installer-ready")
|
||||
parser.add_argument("--producer", metavar="NAME", help="validate artifacts emitted by one producer")
|
||||
parser.add_argument(
|
||||
"--complete",
|
||||
action="store_true",
|
||||
help="require --artifact to cover every managed artifact declared for --producer",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--artifact",
|
||||
metavar="PACKAGE:ARCHITECTURE",
|
||||
|
|
@ -132,7 +137,7 @@ def main() -> int:
|
|||
and package.get("producer") == args.producer
|
||||
for architecture in package.get("architectures", [])
|
||||
}
|
||||
if emitted != expected:
|
||||
if args.complete and emitted != expected:
|
||||
missing = sorted(expected - emitted)
|
||||
unexpected = sorted(emitted - expected)
|
||||
if missing:
|
||||
|
|
|
|||
Loading…
Reference in a new issue