/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt also seams to... master
authorDaniel Abrecht <public@danielabrecht.ch>
Thu, 26 May 2022 20:41:18 +0000 (20:41 +0000)
committerDaniel Abrecht <public@danielabrecht.ch>
Thu, 26 May 2022 20:41:18 +0000 (20:41 +0000)
config/default/b-pinephone-pro/post_early_install

index 33807bbd4ea43a7251f94031f7b2a2654ce4b06e..4fbf748efd6eaec136e4e51f190f58f44725572c 100755 (executable)
@@ -1,25 +1,10 @@
 #!/bin/sh -ex
 
-tmp="$(mktemp -d)"
-cleanup(){ cd /; rm -rf "$tmp"; }
-trap cleanup EXIT TERM INT
-
-cd "$tmp"
-
-# TODO: Does any of the /lib/firmware/brcm/brcmfmac43455-sdio.* files from firmware-brcm80211 / linux-firmware, which is installed, work?
-if apt-get download raspi-firmware
-then
-  dpkg-deb -xv raspi-firmware*.deb .
-  cp ./lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.pine64,pinephone-pro.txt
-else
-  apt-get download linux-firmware-raspi
-  dpkg-deb -xv linux-firmware-raspi*.deb .
-  cp ./lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,400.txt /lib/firmware/brcm/brcmfmac43455-sdio.pine64,pinephone-pro.txt
-fi
+ln -s /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt /lib/firmware/brcm/brcmfmac43455-sdio.pine64,pinephone-pro.txt
 
 # Create an initial grub config. It's not possible to get grub-install
 # working properly in the chroot, but grub-mkimage will work for the first boot,
-# we can do grub-instal and grub-update un the first boot after that.
+# we can do grub-install and grub-update on the first boot after that.
 MODULES='
   all_video boot cat configfile disk echo efi_gop ext2 fat fdt gzio help iso9660
   linux ls normal part_gpt part_msdos reboot search search_fs_file search_fs_uuid