Accepting request 852418 from home:nsaenzjulienne:branches:hardware

Fix previous request. The symbolic links have to be created relative to the
original file location. Otherwise, the link contains absolute paths which
traverse into the build machine tree.

OBS-URL: https://build.opensuse.org/request/show/852418
OBS-URL: https://build.opensuse.org/package/show/hardware/bcm43xx-firmware?expand=0&rev=36
This commit is contained in:
Fabian Vogt 2020-12-01 18:21:33 +00:00 committed by Git OBS Bridge
parent e164e9bce8
commit a714cd7bd1

View File

@ -81,8 +81,8 @@ install -c -m 0644 %{SOURCE4356} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4561} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4562} %{buildroot}/lib/firmware/brcm/
install -c -m 0644 %{SOURCE4563} %{buildroot}/lib/firmware/brcm/
ln -s %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.txt %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.txt
ln -s %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.txt %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
ln -s brcmfmac43456-sdio.txt %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.txt
ln -s brcmfmac43456-sdio.txt %{buildroot}/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-compute-module.txt
# Used by bluez (hciattach)
install -c -m 0644 %{SOURCE4309} %{buildroot}/lib/firmware/
install -c -m 0644 %{SOURCE4559} %{buildroot}/lib/firmware/