update to 20141206git
don't include prebuilt kernel [release 20141206git-1mamba;Sat Dec 06 2014]
This commit is contained in:
parent
ebd8e50d5a
commit
21ce419b9b
@ -1,12 +1,12 @@
|
||||
# the userspace libraries and devel files are now available in source format
|
||||
%define include_userspace 0
|
||||
|
||||
%define include_kernel 0
|
||||
%define kernelver 3.6.11
|
||||
%define gitversion 20130425git
|
||||
|
||||
Name: raspberrypi-firmware
|
||||
Version: 3.6.11.20130425git
|
||||
Release: 2mamba
|
||||
Version: 20141206git
|
||||
Release: 1mamba
|
||||
Summary: Boot firmware files (except kernel) for the Raspberry Pi
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
@ -14,7 +14,7 @@ Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: http://www.raspberrypi.org/
|
||||
## GITSOURCE git://github.com/raspberrypi/firmware.git
|
||||
Source0: git://github.com/raspberrypi/firmware.git/master/firmware-%{kernelver}.%{gitversion}.tar.bz2
|
||||
Source0: git://github.com/raspberrypi/firmware.git/master/firmware-%{version}.tar.bz2
|
||||
Source1: raspberrypi-firmware-kernelconf.txt
|
||||
Source2: raspberrypi-firmware-kernelcmdline.txt
|
||||
Source10: raspberrypi-firmware-udev-vchiq-permissions
|
||||
@ -90,7 +90,7 @@ Source: https://github.com/raspberrypi/firmware.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n firmware-%{kernelver}.%{gitversion}
|
||||
%setup -q -n firmware-%{version}
|
||||
%define __os_install_post %{nil}
|
||||
|
||||
%install
|
||||
@ -102,7 +102,9 @@ install -d %{buildroot}/boot
|
||||
boot_flist="\
|
||||
bootcode.bin
|
||||
fixup_x.dat
|
||||
%if %include_kernel
|
||||
kernel.img
|
||||
%endif
|
||||
LICENCE.broadcom
|
||||
start_x.elf"
|
||||
|
||||
@ -110,18 +112,16 @@ for f in $boot_flist; do
|
||||
install -m 644 boot/$f %{buildroot}/boot/
|
||||
done
|
||||
|
||||
%if %include_kernel
|
||||
install -d %{buildroot}/lib/modules
|
||||
cp -R modules/3.6.11+ %{buildroot}/lib/modules/
|
||||
|
||||
install %{S:1} %{buildroot}/boot/config.txt
|
||||
install %{S:2} %{buildroot}/boot/cmdline.txt
|
||||
|
||||
install -d %{buildroot}/lib/udev/rules.d
|
||||
install -m 644 %{S:10} \
|
||||
%{buildroot}/lib/udev/rules.d/10-vchiq-permissions.rules
|
||||
cp -R modules/3.* %{buildroot}/lib/modules/
|
||||
|
||||
install -d %{buildroot}%{_datadir}/doc/raspberrypi-kernel
|
||||
cp -R documentation/ilcomponents %{buildroot}%{_datadir}/doc/raspberrypi-kernel
|
||||
%endif
|
||||
|
||||
install %{S:1} %{buildroot}/boot/config.txt
|
||||
install %{S:2} %{buildroot}/boot/cmdline.txt
|
||||
|
||||
%if %include_userspace
|
||||
# libraries
|
||||
@ -139,6 +139,11 @@ install -d %{buildroot}/opt/vc/bin
|
||||
for f in edidparser tvservice vcdbg vcgencmd vchiq_test; do
|
||||
install -m 755 opt/vc/bin/$f %{buildroot}/opt/vc/bin/$f
|
||||
done
|
||||
|
||||
# udev rules
|
||||
install -d %{buildroot}/lib/udev/rules.d
|
||||
install -m 644 %{S:10} \
|
||||
%{buildroot}/lib/udev/rules.d/10-vchiq-permissions.rules
|
||||
%endif
|
||||
|
||||
%clean
|
||||
@ -152,8 +157,8 @@ done
|
||||
/boot/LICENCE.broadcom
|
||||
%config(noreplace) /boot/config.txt
|
||||
%config(noreplace) /boot/cmdline.txt
|
||||
/lib/udev/rules.d/10-vchiq-permissions.rules
|
||||
|
||||
%if %include_kernel
|
||||
%files -n kernel-raspberrypi
|
||||
%defattr(-,root,root)
|
||||
/boot/kernel.img
|
||||
@ -165,6 +170,7 @@ done
|
||||
%files -n kernel-raspberrypi-doc
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/doc/raspberrypi-kernel
|
||||
%endif
|
||||
|
||||
%if %include_userspace
|
||||
%post -n raspberrypi-libs -p /sbin/ldconfig
|
||||
@ -181,6 +187,7 @@ done
|
||||
|
||||
%files -n raspberrypi-utils
|
||||
%defattr(-,root,root)
|
||||
/lib/udev/rules.d/10-vchiq-permissions.rules
|
||||
/opt/vc/bin/edidparser
|
||||
/opt/vc/bin/tvservice
|
||||
/opt/vc/bin/vcdbg
|
||||
@ -189,6 +196,10 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Dec 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20141206git-1mamba
|
||||
- update to 20141206git
|
||||
- don't include prebuilt kernel
|
||||
|
||||
* Mon Feb 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.11.20130425git-2mamba
|
||||
- move boot firmware files to raspberrypi-firmware and require it in kernel-raspberrypi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user