mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-23 06:20:41 +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
|
pkgbase = firmware-phicomm-n1
|
||||||
pkgdesc = Additional firmware for Phicomm N1
|
pkgdesc = Additional firmware for Phicomm N1
|
||||||
pkgver = 6
|
pkgver = 6
|
||||||
pkgrel = 8
|
pkgrel = 9
|
||||||
url = https://github.com/RPi-Distro
|
url = https://github.com/RPi-Distro
|
||||||
install = firmware-phicomm-n1.install
|
install = firmware-phicomm-n1.install
|
||||||
arch = any
|
arch = any
|
||||||
|
|
|
@ -4,7 +4,7 @@ buildarch=28
|
||||||
|
|
||||||
pkgname=firmware-phicomm-n1
|
pkgname=firmware-phicomm-n1
|
||||||
pkgver=6
|
pkgver=6
|
||||||
pkgrel=8
|
pkgrel=9
|
||||||
pkgdesc="Additional firmware for Phicomm N1"
|
pkgdesc="Additional firmware for Phicomm N1"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
conflicts=('firmware-raspberrypi')
|
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
|
sed -i "s/^macaddr=.*$/macaddr=${mac}/g" /usr/lib/firmware/brcm/brcmfmac43455-sdio.phicomm,n1.txt
|
||||||
# set bluetooth macaddr
|
# set bluetooth macaddr
|
||||||
echo -en $(sed 's/^.*:\(..\):\(..\):\(..\)$/\\x\3\\x\2\\x\1/' <<< "$mac") | \
|
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