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