LICENCE to folder raspi%fix bug when install files for firmware
This commit is contained in:
parent
39145cb2d8
commit
3403a1a7e5
@ -1,5 +1,5 @@
|
||||
%global _lib_path /usr/lib/firmware
|
||||
%global _license_path /usr/share/licenses
|
||||
%global _license_path /usr/share/licenses/raspi
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: raspberrypi-firmware
|
||||
@ -29,14 +29,14 @@ mkdir -p %{buildroot}%{_lib_path}/brcm
|
||||
mkdir -p %{buildroot}%{_license_path}
|
||||
mkdir -p %{buildroot}/boot
|
||||
install -p -m 644 %{_sourcedir}/LICENCE.* %{buildroot}%{_license_path}
|
||||
install -p -m 644 firmware/*.* %{buildroot}%{_lib_path}
|
||||
install -p -m 644 $(find firmware/ -maxdepth 1 -type f) %{buildroot}%{_lib_path}
|
||||
install -p -m 644 firmware/brcm/* %{buildroot}%{_lib_path}/brcm
|
||||
install -p -m 644 firmware-boot/*.* %{buildroot}/boot
|
||||
install -p -m 644 firmware-boot/* %{buildroot}/boot
|
||||
|
||||
%files
|
||||
%dir %{_lib_path}
|
||||
%dir %{_license_path}
|
||||
%{_license_path}/*
|
||||
%{_license_path}
|
||||
%{_lib_path}/*
|
||||
/boot/*
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user