- Add firmware needed for nouveau to operate correctly (this is Fedora only

- do not upstream yet - we just moved it here from Fedora kernel)
This commit is contained in:
Dave Airlie 2010-02-09 01:54:49 +00:00
parent aef32f7ffc
commit fac825d128
3 changed files with 16 additions and 2 deletions

View File

@ -1 +1,2 @@
linux-firmware-20100106.tar.bz2 linux-firmware-20100106.tar.bz2
nouveau-firmware-1.tar.bz2

View File

@ -1,12 +1,15 @@
%define nvfw nouveau-firmware-1
Name: linux-firmware Name: linux-firmware
Version: 20100106 Version: 20100106
Release: 1%{?dist} Release: 2%{?dist}
Summary: Firmware files used by the Linux kernel Summary: Firmware files used by the Linux kernel
Group: System Environment/Kernel Group: System Environment/Kernel
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
URL: http://www.kernel.org/ URL: http://www.kernel.org/
Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/%{name}-%{version}.tar.bz2 Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/%{name}-%{version}.tar.bz2
Source1: %{nvfw}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
Provides: kernel-firmware = %{version} Provides: kernel-firmware = %{version}
@ -18,7 +21,7 @@ Kernel-firmware includes firmware files required for some devices to
operate. operate.
%prep %prep
%setup -q -n linux-firmware-%{version} %setup -q -n linux-firmware-%{version} -b1
%build %build
@ -41,6 +44,11 @@ mkdir -p $RPM_BUILD_ROOT/lib/firmware
cp -r * $RPM_BUILD_ROOT/lib/firmware cp -r * $RPM_BUILD_ROOT/lib/firmware
rm $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*} rm $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*}
pushd ../%{nvfw}
mkdir -p $RPM_BUILD_ROOT/lib/firmware/nouveau
cp -a * $RPM_BUILD_ROOT/lib/firmware/nouveau
popd
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -51,6 +59,10 @@ rm -rf $RPM_BUILD_ROOT
/lib/firmware/* /lib/firmware/*
%changelog %changelog
* Tue Feb 09 2010 Ben Skeggs <bskeggs@redhat.com> 20090106-2
- Add firmware needed for nouveau to operate correctly (this is Fedora
only - do not upstream yet - we just moved it here from Fedora kernel)
* Wed Jan 06 2010 David Woodhouse <David.Woodhouse@intel.com> 20090106-1 * Wed Jan 06 2010 David Woodhouse <David.Woodhouse@intel.com> 20090106-1
- Update - Update

View File

@ -1 +1,2 @@
9c34690e02b5a284a546c0aae7ef0599 linux-firmware-20100106.tar.bz2 9c34690e02b5a284a546c0aae7ef0599 linux-firmware-20100106.tar.bz2
554e432993f138bd5c6704dbca109d71 nouveau-firmware-1.tar.bz2