sys-firmware/raspberrypi-wifi-ucode: tiny post-merge changes
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
3ae6632fb1
commit
82fe59d736
|
@ -8,17 +8,15 @@ HOMEPAGE="https://github.com/RPi-Distro/firmware-nonfree
|
||||||
https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree"
|
https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree"
|
||||||
MY_PN=firmware-nonfree
|
MY_PN=firmware-nonfree
|
||||||
SRC_URI="https://archive.raspberrypi.org/debian/pool/main/f/${MY_PN}/${MY_PN}_$(ver_cut 1)-$(ver_cut 2)+rpt$(ver_cut 4).debian.tar.xz"
|
SRC_URI="https://archive.raspberrypi.org/debian/pool/main/f/${MY_PN}/${MY_PN}_$(ver_cut 1)-$(ver_cut 2)+rpt$(ver_cut 4).debian.tar.xz"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
LICENSE="Broadcom"
|
LICENSE="Broadcom"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~arm ~arm64"
|
KEYWORDS="~arm ~arm64"
|
||||||
|
|
||||||
RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
|
RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
|
||||||
DEPEND=""
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
pkg_pretend() {
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
local -a BADFILES=()
|
local -a BADFILES=()
|
||||||
local txt file
|
local txt file
|
||||||
# /lib/firmware/brcm/brcmfmac434{30,36,55,56}-sdio.*.txt
|
# /lib/firmware/brcm/brcmfmac434{30,36,55,56}-sdio.*.txt
|
||||||
|
@ -39,10 +37,11 @@ pkg_setup() {
|
||||||
# * /lib/firmware/brcm/brcmfmac43455-sdio.txt
|
# * /lib/firmware/brcm/brcmfmac43455-sdio.txt
|
||||||
# * /lib/firmware/brcm/brcmfmac43456-sdio.txt
|
# * /lib/firmware/brcm/brcmfmac43456-sdio.txt
|
||||||
# So no overlap is assured.
|
# So no overlap is assured.
|
||||||
for txt in /lib/firmware/brcm/brcmfmac434{30,36,55,56}-sdio.*.txt; do
|
for txt in "${EPREFIX}"/lib/firmware/brcm/brcmfmac434{30,36,55,56}-sdio.*.txt; do
|
||||||
[[ -e "${txt}" ]] && BADFILES+=( "${txt}" )
|
[[ -e "${txt}" ]] && BADFILES+=( "${txt}" )
|
||||||
done
|
done
|
||||||
if (( "${#BADFILES[@]}" >= 1)); then
|
|
||||||
|
if [[ "${#BADFILES[@]}" -gt 1 ]]; then
|
||||||
eerror "The following files should be excluded from the savedconfig of"
|
eerror "The following files should be excluded from the savedconfig of"
|
||||||
eerror "linux-firmware and linux-firmware should be re-emerged. Even"
|
eerror "linux-firmware and linux-firmware should be re-emerged. Even"
|
||||||
eerror "though they do not collide with files from ${PN},"
|
eerror "though they do not collide with files from ${PN},"
|
||||||
|
|
Loading…
Reference in New Issue