diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..90e84f5a6963a14715a05f55dcc5b70f8354edcb --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/linux-firmware diff --git a/linux-firmware-20241017.tar.xz b/linux-firmware-20250311.tar.xz similarity index 32% rename from linux-firmware-20241017.tar.xz rename to linux-firmware-20250311.tar.xz index 553b8e36704e70c6243bde15706690e34a3fcae6..9ea32f82425a53932bdcfe1d7a6dd0885b0cf27d 100644 --- a/linux-firmware-20241017.tar.xz +++ b/linux-firmware-20250311.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a26c38ef5a83272f2b98ce8bf8ca1865a852a3deea49ce5a8dd804b914351273 -size 397400292 +oid sha256:b1083a36f19aea46f661dcfd4cd462d13933dcb4e7f0dc809525552dd5c3541d +size 434375512 diff --git a/linux-firmware.spec b/linux-firmware.spec index 118654f904b01c192930d2627b3903c2a5a97b2a..5f79d3671aa69c52a97405bbfad54abd6ab68980 100644 --- a/linux-firmware.spec +++ b/linux-firmware.spec @@ -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 - 20250311-1 +- update to 20250311 + * Fri Oct 18 2024 Funda Wang - 20241017-1 - update to 20241017