generate_firmware_patterns: Drop support for the temporary --test option.
This commit is contained in:
parent
5e3dec1796
commit
897bf4754d
|
@ -7,6 +7,10 @@ debian-cd (3.1.36) UNRELEASED; urgency=medium
|
|||
* Use $CODENAME/updates for security pre-bullseye, or
|
||||
$CODENAME-security for bullseye onwards.
|
||||
|
||||
[ Cyril Brulebois ]
|
||||
* generate_firmware_patterns: Drop support for the temporary --test
|
||||
option.
|
||||
|
||||
-- Steve McIntyre <93sam@debian.org> Mon, 26 Jul 2021 01:02:03 +0100
|
||||
|
||||
debian-cd (3.1.35) unstable; urgency=medium
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
#
|
||||
# We're limiting ourselves to packages announcing Type: firmware, and
|
||||
# they need to include such information in their metadata, e.g.
|
||||
# src:firmware-nonfree; the --test option can be used until such
|
||||
# packages appear in the archive.
|
||||
# src:firmware-nonfree.
|
||||
#
|
||||
# See: https://salsa.debian.org/kernel-team/firmware-nonfree/-/merge_requests/19
|
||||
|
||||
|
@ -24,15 +23,11 @@ use Getopt::Long;
|
|||
use YAML::XS;
|
||||
|
||||
|
||||
# XXX: Drop support for --test once we have the required metadata in
|
||||
# the archive.
|
||||
my $output_dir = '.';
|
||||
my $test;
|
||||
my $verbose;
|
||||
my $pkgname = "ALL";
|
||||
|
||||
GetOptions( "output-dir=s" => \$output_dir,
|
||||
"test" => \$test,
|
||||
"verbose" => \$verbose,
|
||||
"package=s" => \$pkgname)
|
||||
or die "Error in command line arguments";
|
||||
|
@ -63,10 +58,6 @@ sub process_components {
|
|||
foreach my $array (Load $content) {
|
||||
# XXX: Drop the condition once we have the required metadata
|
||||
# in the archive.
|
||||
if (! $test) {
|
||||
next if not defined $array->{Type};
|
||||
next if $array->{Type} ne 'firmware';
|
||||
}
|
||||
next if not defined $array->{Provides};
|
||||
next if not defined $array->{Provides}->{modaliases};
|
||||
|
||||
|
|
Loading…
Reference in New Issue