From f1fcffb72f222075eeb8587114c5051c6e8b0cfc Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 22 Jul 2014 13:46:35 +0200 Subject: Split extras bootloader images Whereas it worth to have commonly available boards to be built from the same spec file, some of theses boards don't need to have their bootloader provided in the same media as the OS. In the Tegra case SPI or eMMC boot area are often used. --- uboot-tools.spec | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/uboot-tools.spec b/uboot-tools.spec index bf99ea1..7576657 100644 --- a/uboot-tools.spec +++ b/uboot-tools.spec @@ -89,16 +89,12 @@ Obsoletes: uboot-panda < %{version}-%{release} Provides: uboot-panda = %{version}-%{release} Obsoletes: uboot-origen < %{version}-%{release} Provides: uboot-origen = %{version}-%{release} -Obsoletes: uboot-paz00 < %{version}-%{release} -Provides: uboot-paz00 = %{version}-%{release} Obsoletes: uboot-smdkv310 < %{version}-%{release} Provides: uboot-smdkv310 = %{version}-%{release} Obsoletes: uboot-snow < %{version}-%{release} Provides: uboot-snow = %{version}-%{release} Obsoletes: uboot-snowball < %{version}-%{release} Provides: uboot-snowball = %{version}-%{release} -Obsoletes: uboot-trimslice < %{version}-%{release} -Provides: uboot-trimslice = %{version}-%{release} Obsoletes: uboot-uevm < %{version}-%{release} Provides: uboot-uevm = %{version}-%{release} Obsoletes: uboot-wandboard_dl < %{version}-%{release} @@ -111,6 +107,19 @@ Provides: uboot-wandboard_solo = %{version}-%{release} %description -n uboot-images-armv7 u-boot bootloader binaries for armv7 boards + +%package -n uboot-images-armv7-extras +Summary: u-boot bootloader images for armv7 boards +Requires: uboot-tools + +Obsoletes: uboot-paz00 < %{version}-%{release} +Provides: uboot-paz00 = %{version}-%{release} +Obsoletes: uboot-trimslice < %{version}-%{release} +Provides: uboot-trimslice = %{version}-%{release} + +%description -n uboot-images-armv7-extras +u-boot bootloader binaries for armv7 boards extras package + %endif %prep @@ -392,17 +401,20 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/uboot/Cubietruck/ %{_datadir}/uboot/highbank/ %{_datadir}/uboot/panda/ -%{_datadir}/uboot/paz00/ %{_datadir}/uboot/origen/ %{_datadir}/uboot/snow/ %{_datadir}/uboot/snowball/ %{_datadir}/uboot/smdkv310/ -%{_datadir}/uboot/trimslice/ %{_datadir}/uboot/wandboard_dl/ %{_datadir}/uboot/wandboard_quad/ %{_datadir}/uboot/wandboard_solo/ %{_datadir}/uboot/udoo_quad/ %{_datadir}/uboot/uevm/ + +%files -n uboot-images-armv7-extras +%defattr(-,root,root,-) +%{_datadir}/uboot/paz00/ +%{_datadir}/uboot/trimslice/ %endif %changelog -- cgit