forked from pool/raspberrypi-eeprom
Accepting request 866570 from home:nsaenzjulienne:branches:hardware:boot
- Add patches names to changes file - Use %{_firmwaredir} OBS-URL: https://build.opensuse.org/request/show/866570 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/raspberrypi-eeprom?expand=0&rev=2
This commit is contained in:
parent
8f40636ae6
commit
31f8116df9
@ -2,3 +2,4 @@
|
|||||||
Fri Jan 22 14:15:38 UTC 2021 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
|
Fri Jan 22 14:15:38 UTC 2021 - Nicolas Patricio Saenz Julienne <nsaenzjulienne@suse.com>
|
||||||
|
|
||||||
- First commit
|
- First commit
|
||||||
|
- Introduce patches: 'add-suse-config.patch' and 'don't-use-env.patch'.
|
||||||
|
@ -76,13 +76,13 @@ install -m 0755 rpi-eeprom-update %{buildroot}%{_bindir}
|
|||||||
mkdir -p %{buildroot}/etc/default
|
mkdir -p %{buildroot}/etc/default
|
||||||
install -m 644 rpi-eeprom-update-default %{buildroot}/etc/default/rpi-eeprom-update
|
install -m 644 rpi-eeprom-update-default %{buildroot}/etc/default/rpi-eeprom-update
|
||||||
|
|
||||||
mkdir -p %{buildroot}/lib/firmware/raspberrypi/bootloader
|
mkdir -p %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader
|
||||||
mv firmware/beta %{buildroot}/lib/firmware/raspberrypi/bootloader
|
mv firmware/beta %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader
|
||||||
mv firmware/critical %{buildroot}/lib/firmware/raspberrypi/bootloader
|
mv firmware/critical %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader
|
||||||
mv firmware/stable %{buildroot}/lib/firmware/raspberrypi/bootloader
|
mv firmware/stable %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader
|
||||||
cp -a firmware/latest %{buildroot}/lib/firmware/raspberrypi/bootloader
|
cp -a firmware/latest %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader
|
||||||
cp -a firmware/default %{buildroot}/lib/firmware/raspberrypi/bootloader
|
cp -a firmware/default %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader
|
||||||
%fdupes -s %{buildroot}/lib/firmware/raspberrypi/bootloader
|
%fdupes -s %{buildroot}/%{_firmwaredir}/raspberrypi/bootloader
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -93,12 +93,12 @@ cp -a firmware/default %{buildroot}/lib/firmware/raspberrypi/bootloader
|
|||||||
%config /etc/default/rpi-eeprom-update
|
%config /etc/default/rpi-eeprom-update
|
||||||
|
|
||||||
%files firmware
|
%files firmware
|
||||||
/lib/firmware/
|
%{_firmwaredir}
|
||||||
/lib/firmware/raspberrypi
|
%{_firmwaredir}/raspberrypi
|
||||||
/lib/firmware/raspberrypi/bootloader/beta
|
%{_firmwaredir}/raspberrypi/bootloader/beta
|
||||||
/lib/firmware/raspberrypi/bootloader/critical
|
%{_firmwaredir}/raspberrypi/bootloader/critical
|
||||||
/lib/firmware/raspberrypi/bootloader/stable
|
%{_firmwaredir}/raspberrypi/bootloader/stable
|
||||||
/lib/firmware/raspberrypi/bootloader/latest
|
%{_firmwaredir}/raspberrypi/bootloader/latest
|
||||||
/lib/firmware/raspberrypi/bootloader/default
|
%{_firmwaredir}/raspberrypi/bootloader/default
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user