Skip to content

Commit

Permalink
Add post_install in Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 committed May 21, 2024
1 parent 1a8ca89 commit e83898d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/tools/firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,17 @@ create_arch_pkg () {
sha256sums=('SKIP')
package() {
mkdir -p \$pkgdir/usr/lib/firmware/brcm
cd \$pkgdir/usr/lib/firmware/brcm
tar xf \$srcdir/firmware.tar
mkdir -p \$pkgdir/usr/lib/firmware/brcm
cd \$pkgdir/usr/lib/firmware/brcm
tar xf \$srcdir/firmware.tar
}
post_install() {
modprobe -r brcmfmac_wcc || true
modprobe -r brcmfmac || true
modprobe brcmfmac || true
modprobe -r hci_bcm4377 || true
modprobe hci_bcm4377 || true
}
EOF

Expand Down

0 comments on commit e83898d

Please sign in to comment.