generate_firmware_patterns: make sure dep11 metadata files are present
Otherwise we might be failing to generate firmware patterns for some firmware packages. Being cautious about this lets us submit patches against dak: https://salsa.debian.org/ftp-team/dak/-/merge_requests/267
This commit is contained in:
parent
a2378ed25d
commit
8c497447f9
|
@ -94,6 +94,8 @@ write_file("$output_dir/README.txt",
|
||||||
# Components-* files:
|
# Components-* files:
|
||||||
my @all_packages;
|
my @all_packages;
|
||||||
foreach my $component (@ARGV) {
|
foreach my $component (@ARGV) {
|
||||||
|
die "missing metadata file $component"
|
||||||
|
if ! -f $component;
|
||||||
my @packages = process_components($component);
|
my @packages = process_components($component);
|
||||||
push @all_packages, @packages;
|
push @all_packages, @packages;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue