mirror of
https://git.proxmox.com/git/pve-firmware
synced 2025-08-06 07:22:30 +00:00
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 <t.lamprecht@proxmox.com>
This commit is contained in:
parent
68a65518fb
commit
b0b6de23bf
@ -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`;
|
||||
|
Loading…
Reference in New Issue
Block a user