forked from pool/kernel-firmware
Accepting request 62756 from Kernel:HEAD
Accepted submit request 62756 from user gregkh OBS-URL: https://build.opensuse.org/request/show/62756 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kernel-firmware?expand=0&rev=17
This commit is contained in:
commit
8e75ba4876
13
_service
Normal file
13
_service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git</param>
|
||||||
|
<param name="version">2.6.38</param>
|
||||||
|
<param name="filename">kernel-firmware</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">bz2</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version"/>
|
||||||
|
</services>
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:68a94a9434a853cc3cefac643728f1ce5adfd748df20fa948e84c5c77939917d
|
||||||
|
size 27012224
|
84
_service:set_version:kernel-firmware.spec
Normal file
84
_service:set_version:kernel-firmware.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kernel-firmware (Version git)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name: kernel-firmware
|
||||||
|
BuildRequires: fdupes kernel-default
|
||||||
|
Version: 2.6.38
|
||||||
|
Release: 0
|
||||||
|
Summary: Linux kernel firmware files
|
||||||
|
License: NON-OSI-COMPLIANT(no modification) ; GPLv2 ; GPLv2+ ; MIT License (or similar)
|
||||||
|
Group: System/Kernel
|
||||||
|
Url: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
|
||||||
|
Source0: %name-%{version}.tar.bz2
|
||||||
|
Source1: firmware.sh
|
||||||
|
%define __find_supplements bash %_sourcedir/firmware.sh --find-supplements
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
Provides: qlogic-firmware
|
||||||
|
Obsoletes: qlogic-firmware
|
||||||
|
Provides: cxgb3-firmware
|
||||||
|
Obsoletes: cxgb3-firmware
|
||||||
|
Provides: ralink-firmware
|
||||||
|
Obsoletes: ralink-firmware
|
||||||
|
Provides: iwl1000-ucode
|
||||||
|
Obsoletes: iwl1000-ucode
|
||||||
|
Provides: iwl3945-ucode
|
||||||
|
Obsoletes: iwl3945-ucode
|
||||||
|
Provides: iwl4965-ucode
|
||||||
|
Obsoletes: iwl4965-ucode
|
||||||
|
Provides: iwl5000-ucode
|
||||||
|
Obsoletes: iwl5000-ucode
|
||||||
|
Provides: iwl5150-ucode
|
||||||
|
Obsoletes: iwl5150-ucode
|
||||||
|
AutoReq: off
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the firmware for in-kernel drivers that was
|
||||||
|
previously included in the kernel. It is shared by all kernels >=
|
||||||
|
2.6.27-rc1.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
# nothing to do
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}/lib/firmware
|
||||||
|
cp -avf * %{buildroot}/lib/firmware
|
||||||
|
rm -f %{buildroot}/lib/firmware/WHENCE
|
||||||
|
bash %_sourcedir/firmware.sh --kill-duplicates %buildroot/lib/firmware/
|
||||||
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
|
# create symlinks for Broadcom driver (bnc#673054)
|
||||||
|
cd %{buildroot}/lib/firmware/brcm/
|
||||||
|
ln -s bcm43xx-0-610-809-0.fw bcm43xx-0.fw
|
||||||
|
ln -s bcm43xx_hdr-0-610-809-0.fw bcm43xx_hdr-0.fw
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc WHENCE
|
||||||
|
/lib/firmware/*
|
||||||
|
|
||||||
|
%changelog
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 24 21:40:58 UTC 2011 - gregkh@suse.de
|
||||||
|
|
||||||
|
- create symlinks for Broadcom driver (bnc#673054)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 5 13:56:23 UTC 2011 - johannesobermayr@gmx.de
|
||||||
|
|
||||||
|
- Add scm service for automatical updates
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 15 22:34:12 UTC 2010 - gregkh@suse.de
|
Wed Dec 15 22:34:12 UTC 2010 - gregkh@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kernel-firmware (Version 20101214)
|
# spec file for package kernel-firmware (Version git)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,7 +25,7 @@ Summary: Linux kernel firmware files
|
|||||||
License: NON-OSI-COMPLIANT(no modification) ; GPLv2 ; GPLv2+ ; MIT License (or similar)
|
License: NON-OSI-COMPLIANT(no modification) ; GPLv2 ; GPLv2+ ; MIT License (or similar)
|
||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Url: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
|
Url: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/
|
||||||
Source0: linux-firmware-%{version}.tar.bz2
|
Source0: %name-%{version}.tar.bz2
|
||||||
Source1: firmware.sh
|
Source1: firmware.sh
|
||||||
%define __find_supplements bash %_sourcedir/firmware.sh --find-supplements
|
%define __find_supplements bash %_sourcedir/firmware.sh --find-supplements
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -56,7 +56,7 @@ previously included in the kernel. It is shared by all kernels >=
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n linux-firmware-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# nothing to do
|
# nothing to do
|
||||||
@ -68,6 +68,11 @@ rm -f %{buildroot}/lib/firmware/WHENCE
|
|||||||
bash %_sourcedir/firmware.sh --kill-duplicates %buildroot/lib/firmware/
|
bash %_sourcedir/firmware.sh --kill-duplicates %buildroot/lib/firmware/
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
|
# create symlinks for Broadcom driver (bnc#673054)
|
||||||
|
cd %{buildroot}/lib/firmware/brcm/
|
||||||
|
ln -s bcm43xx-0-610-809-0.fw bcm43xx-0.fw
|
||||||
|
ln -s bcm43xx_hdr-0-610-809-0.fw bcm43xx_hdr-0.fw
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1b170f60113d8fd316a181da96c87673c530d63b6cccc530ce21b98a01b7e4e0
|
|
||||||
size 11366235
|
|
Loading…
Reference in New Issue
Block a user