diff options
-rw-r--r-- | setup-disk.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in index ad92426..11bb5be 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -473,7 +473,9 @@ select_firmware_pkgs() { | xargs modinfo -F firmware 2>/dev/null \ | awk -F/ '{print $1 == $0 ? "linux-firmware-other" : "linux-firmware-"$1}' \ | sort -u)" - echo ${firmware_pkgs:-linux-firmware-none} + # filter out non-existing packages like linux-firmware-b43 + # https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10530 + apk search --quiet --exact ${firmware_pkgs:-linux-firmware-none} } is_nvme_dev() { |