summaryrefslogtreecommitdiff
path: root/tests/bin/apk
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-11-17 15:18:32 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2022-11-17 15:50:38 +0000
commit78d231f9ca462dd3147ecb08b49e6740dc171d5b (patch)
tree488a557fa62917bcbe8997e855191352e0737b9a /tests/bin/apk
parent121330d625fd7f9d537c72c40bf50a61c7a0ac51 (diff)
downloadalpine-conf-78d231f9ca462dd3147ecb08b49e6740dc171d5b.zip
update-kernel: fix firmware inclusion in modloop
Some brcm firmwares uses a glob. Fix this and add tests to verify that it works as expected. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10533
Diffstat (limited to 'tests/bin/apk')
-rwxr-xr-xtests/bin/apk3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bin/apk b/tests/bin/apk
index 6ad3bc2..5ac1a76 100755
--- a/tests/bin/apk
+++ b/tests/bin/apk
@@ -38,7 +38,8 @@ for pkg in $pkgs; do
touch "$rootfs"/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.bin \
"$rootfs"/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob \
"$rootfs"/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.txt \
- "$rootfs"/lib/firmware/brcm/brcmfmac43752-sdio.bin
+ "$rootfs"/lib/firmware/brcm/brcmfmac43752-sdio.bin \
+ "$rootfs"/lib/firmware/brcm/brcmfmac43752-sdio.txt
;;
linux-*)
# simulate installing kernel