From b0b6de23bf224c82c046f5f1cbdb3b10d5ec03b5 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 12 Oct 2022 13:52:45 +0200 Subject: [PATCH] assemble: add a force-include list of used, but not referenced FWs for now throw in the iwlwifi pnvm files, without that AX210 cards may file Signed-off-by: Thomas Lamprecht --- assemble-firmware.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assemble-firmware.pl b/assemble-firmware.pl index dc518b1..662256e 100755 --- a/assemble-firmware.pl +++ b/assemble-firmware.pl @@ -15,6 +15,10 @@ die "no firmware list specified" if !$fwlist || ! -f $fwlist; my $target = shift; die "no target directory" if !$target || ! -d $target; +my $FORCE_INCLUDE = [ + 'iwlwifi-*.pnvm', +]; + my $ALLOW_MISSING = {}; # debian squeeze also misses those files foreach my $fw (qw( @@ -575,6 +579,10 @@ while(defined(my $line = <$fd>)) { } close($fd); +for my $fw ($FORCE_INCLUDE->@*) { + add_fw($fw, 'FORCE_INCLUDE'); +} + exit($error) if $error; my $target_fw_string = `find '$target' -type f -o -type l`;