-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to choose between 43436 and 43436S using update-alternatives
- Loading branch information
Showing
9 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ | |
/rules.gen | ||
/stamps/ | ||
!/*.lintian-overrides | ||
!/firmware-brcm80211.postinst | ||
!/firmware-brcm80211.prerm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
firmware-nonfree (1:20210315-3+rpt5) bullseye; urgency=medium | ||
|
||
* Add ability to choose between 43436 and 43436S using update-alternatives | ||
|
||
-- Serge Schneider <[email protected]> Fri, 14 Jan 2022 20:35:31 +0000 | ||
|
||
firmware-nonfree (1:20210315-3+rpt4) bullseye; urgency=medium | ||
|
||
[ Phil Elwell ] | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
case "$1" in | ||
configure) | ||
update-alternatives --quiet --install \ | ||
/lib/firmware/brcm/brcmfmac43436-sdio.bin brcmfmac43436-sdio.bin /lib/firmware/brcm/brcmfmac43436f-sdio.bin 50 \ | ||
--slave /lib/firmware/brcm/brcmfmac43436-sdio.txt brcmfmac43436-sdio.txt /lib/firmware/brcm/brcmfmac43436f-sdio.txt | ||
update-alternatives --quiet --install \ | ||
/lib/firmware/brcm/brcmfmac43436-sdio.bin brcmfmac43436-sdio.bin /lib/firmware/brcm/brcmfmac43436s-sdio.bin 10 \ | ||
--slave /lib/firmware/brcm/brcmfmac43436-sdio.txt brcmfmac43436-sdio.txt /lib/firmware/brcm/brcmfmac43436s-sdio.txt | ||
;; | ||
|
||
abort-upgrade|abort-remove|abort-deconfigure) | ||
;; | ||
|
||
*) | ||
echo "postinst called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
case "$1" in | ||
remove|upgrade|deconfigure) | ||
update-alternatives --quiet --remove \ | ||
brcmfmac43436-sdio.bin \ | ||
/lib/firmware/brcm/brcmfmac43436s-sdio.bin | ||
update-alternatives --quiet --remove \ | ||
brcmfmac43436-sdio.bin \ | ||
/lib/firmware/brcm/brcmfmac43436f-sdio.bin | ||
;; | ||
|
||
failed-upgrade) | ||
;; | ||
|
||
*) | ||
echo "prerm called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters