mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-12-23 04:29:23 +08:00
update: firmware-phicomm-n1
This commit is contained in:
parent
ca83afaada
commit
7867e3255e
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = firmware-phicomm-n1
|
||||
pkgdesc = Additional firmware for Phicomm N1
|
||||
pkgver = 6
|
||||
pkgrel = 8
|
||||
pkgrel = 9
|
||||
url = https://github.com/RPi-Distro
|
||||
install = firmware-phicomm-n1.install
|
||||
arch = any
|
||||
|
|
|
@ -4,7 +4,7 @@ buildarch=28
|
|||
|
||||
pkgname=firmware-phicomm-n1
|
||||
pkgver=6
|
||||
pkgrel=8
|
||||
pkgrel=9
|
||||
pkgdesc="Additional firmware for Phicomm N1"
|
||||
arch=('any')
|
||||
conflicts=('firmware-raspberrypi')
|
||||
|
|
|
@ -19,5 +19,5 @@ post_upgrade() {
|
|||
sed -i "s/^macaddr=.*$/macaddr=${mac}/g" /usr/lib/firmware/brcm/brcmfmac43455-sdio.phicomm,n1.txt
|
||||
# set bluetooth macaddr
|
||||
echo -en $(sed 's/^.*:\(..\):\(..\):\(..\)$/\\x\3\\x\2\\x\1/' <<< "$mac") | \
|
||||
dd of=/usr/lib/firmware/brcm/BCM4345C0.hcd bs=1 seek=$((0x21)) count=3 conv=notrunc
|
||||
dd of=/usr/lib/firmware/brcm/BCM4345C0.hcd bs=1 seek=$((0x21)) count=3 conv=notrunc status=none
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue