20250311
This commit is contained in:
parent
c4fad99fc4
commit
b787ff5139
2
.lfsconfig
Normal file
2
.lfsconfig
Normal file
@ -0,0 +1,2 @@
|
||||
[lfs]
|
||||
url = https://artlfs.openeuler.openatom.cn/src-openEuler/linux-firmware
|
||||
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a26c38ef5a83272f2b98ce8bf8ca1865a852a3deea49ce5a8dd804b914351273
|
||||
size 397400292
|
||||
3
linux-firmware-20250311.tar.xz
Normal file
3
linux-firmware-20250311.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1083a36f19aea46f661dcfd4cd462d13933dcb4e7f0dc809525552dd5c3541d
|
||||
size 434375512
|
||||
@ -5,7 +5,7 @@
|
||||
%global _license_path /usr/share/licenses
|
||||
|
||||
Name: linux-firmware
|
||||
Version: 20241017
|
||||
Version: 20250311
|
||||
Release: %{release}
|
||||
Summary: Firmware files used by the Linux kernel
|
||||
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
|
||||
@ -74,29 +74,45 @@ This package contains firmware images required by some devices.
|
||||
%prep
|
||||
%autosetup -p1 -S git
|
||||
|
||||
# collect all the license, and delete those will be put into sub packages
|
||||
mkdir -p LICENCES
|
||||
cp LICENCE.* LICENSE.* LICENCES/
|
||||
pushd LICENCES
|
||||
rm -f LICENCE.atheros_firmware
|
||||
rm -f LICENCE.iwlwifi_firmware
|
||||
rm -f LICENCE.Marvell
|
||||
rm -f LICENCE.OLPC
|
||||
rm -f LICENCE.mediatek
|
||||
rm -f LICENCE.ralink_a_mediatek_company_firmware
|
||||
rm -f LICENCE.Marvell
|
||||
rm -f LICENCE.Netronome
|
||||
rm -f LICENCE.cypress
|
||||
rm -f LICENCE.ti-connectivity
|
||||
popd
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_lib_path}
|
||||
mkdir -p %{buildroot}/%{_license_path}
|
||||
cp -r * %{buildroot}/%{_lib_path}
|
||||
cp -r WHENCE LICENCE.* %{buildroot}/%{_license_path}
|
||||
rm %{buildroot}/%{_lib_path}/{WHENCE,LICENCE.*,LICENSE.*}
|
||||
make COPYOPTS="--ignore-duplicates" DESTDIR=%{buildroot} FIRMWAREDIR=%{_lib_path} install
|
||||
mkdir -p %{buildroot}/%{_lib_path}/updates
|
||||
make DESTDIR=%{buildroot} FIRMWAREDIR=%{_lib_path} install-zst
|
||||
|
||||
pushd %{buildroot}/%{_lib_path}
|
||||
rm -f usbdux/*dux */*.asm
|
||||
rm -rf carl9170fw
|
||||
rm -f Makefile README configure
|
||||
rm -rf check_whence.py copy-firmware.sh
|
||||
rm -rf build_packages.py contrib
|
||||
popd
|
||||
|
||||
%files
|
||||
%dir %{_lib_path}
|
||||
%dir %{_license_path}
|
||||
%license WHENCE LICENCE.* LICENSE.*
|
||||
%{_license_path}/*
|
||||
%license WHENCE
|
||||
%license LICENCES/*
|
||||
%{_lib_path}/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 18 2025 Funda Wang <fundawang@yeah.net> - 20250311-1
|
||||
- update to 20250311
|
||||
|
||||
* Fri Oct 18 2024 Funda Wang <fundawang@yeah.net> - 20241017-1
|
||||
- update to 20241017
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user