Compare commits

...

3 Commits

Author SHA256 Message Date
Takashi Iwai
ff2e5bd734 Update to version 20250616 (git commit 1d98972a5635)
* qcom: add gpu firmwares for X1P42100 chipset
2025-06-17 07:30:43 +02:00
Takashi Iwai
25ba0ac8c0 Update to version 20250613 (git commit 12fe085fa409)
* qcom: sc8280xp: Updated power FW for X13s
2025-06-15 11:10:10 +02:00
Takashi Iwai
66ab232aaa Better workaround for directory -> symlink change (bsc#1244458) 2025-06-12 10:14:05 +02:00
6 changed files with 59 additions and 58 deletions

2
git_id
View File

@@ -1 +1 @@
3b75d677f898fe2aacc7b11763bbcd4732e71ce7
1d98972a56356ccd3193cb6f1a74a4e71d8c4e37

BIN
kernel-firmware-qcom-20250603.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
kernel-firmware-qcom-20250616.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Jun 17 05:29:32 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Update to version 20250616 (git commit 1d98972a5635):
* qcom: add gpu firmwares for X1P42100 chipset
-------------------------------------------------------------------
Sun Jun 15 09:08:58 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Update to version 20250613 (git commit 12fe085fa409):
* qcom: sc8280xp: Updated power FW for X13s
-------------------------------------------------------------------
Thu Jun 12 08:14:05 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Better workaround for directory -> symlink change (bsc#1244458)
-------------------------------------------------------------------
Thu Jun 5 11:12:03 UTC 2025 - Takashi Iwai <tiwai@suse.com>

View File

@@ -20,10 +20,10 @@
%define _firmwaredir /lib/firmware
%endif
%define __ksyms_path ^%{_firmwaredir}
%define git_version 3b75d677f898fe2aacc7b11763bbcd4732e71ce7
%define git_version 1d98972a56356ccd3193cb6f1a74a4e71d8c4e37
Name: kernel-firmware-qcom
Version: 20250603
Version: 20250616
Release: 0
Summary: Kernel firmware files for Qualcomm device drivers
License: GPL-2.0-or-later AND SUSE-Firmware
@@ -339,33 +339,25 @@ scripts/install-licenses.sh qcom %{buildroot}%{_licensedir}/%{name}
install -c -D -m 0644 WHENCE %{buildroot}%{_licensedir}/%{name}/WHENCE
install -c -D -m 0644 README.md %{buildroot}%{_docdir}/%{name}/README.md
%pre
# ugly workaround for changing qcom/LENOVO/21BX to a symlink (bsc#1204103)
if [ ! -L %{_firmwaredir}/qcom/LENOVO/21BX ]; then
if [ -d %{_firmwaredir}/qcom/LENOVO/21BX ]; then
mv %{_firmwaredir}/qcom/LENOVO/21BX %{_firmwaredir}/qcom/LENOVO/21BX.xxxold
fi
fi
%post
# ugly workaround (bsc#1204103)
if [ -d %{_firmwaredir}/qcom/LENOVO/21BX.xxxold ]; then
mv %{_firmwaredir}/qcom/LENOVO/21BX %{_firmwaredir}/qcom/LENOVO/21BX.xxxnew
mv %{_firmwaredir}/qcom/LENOVO/21BX.xxxold %{_firmwaredir}/qcom/LENOVO/21BX
%pretrans -p <lua>
if not macros then
fwdir = "/lib/firmware"
else
%{?regenerate_initrd_post}
fi
%postun
%{?regenerate_initrd_post}
%posttrans
# ugly workaround (bsc#1204103)
if [ -L %{_firmwaredir}/qcom/LENOVO/21BX.xxxnew ]; then
rm -rf %{_firmwaredir}/qcom/LENOVO/21BX
mv %{_firmwaredir}/qcom/LENOVO/21BX.xxxnew %{_firmwaredir}/qcom/LENOVO/21BX
fi
%{?regenerate_initrd_posttrans}
fwdir = macros._firmwaredir
end
path = fwdir .. "/qcom/LENOVO/21BX"
st = posix.stat(path)
if st and st.type == "directory" then
status = os.rename(path, path .. ".rpmmoved")
if not status then
suffix = 0
while not status do
suffix = suffix + 1
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
end
os.rename(path, path .. ".rpmmoved")
end
end
%files
%doc %{_docdir}/%{name}

44
post
View File

@@ -1,27 +1,19 @@
%pre
# ugly workaround for changing qcom/LENOVO/21BX to a symlink (bsc#1204103)
if [ ! -L %{_firmwaredir}/qcom/LENOVO/21BX ]; then
if [ -d %{_firmwaredir}/qcom/LENOVO/21BX ]; then
mv %{_firmwaredir}/qcom/LENOVO/21BX %{_firmwaredir}/qcom/LENOVO/21BX.xxxold
fi
fi
%post
# ugly workaround (bsc#1204103)
if [ -d %{_firmwaredir}/qcom/LENOVO/21BX.xxxold ]; then
mv %{_firmwaredir}/qcom/LENOVO/21BX %{_firmwaredir}/qcom/LENOVO/21BX.xxxnew
mv %{_firmwaredir}/qcom/LENOVO/21BX.xxxold %{_firmwaredir}/qcom/LENOVO/21BX
%pretrans -p <lua>
if not macros then
fwdir = "/lib/firmware"
else
%{?regenerate_initrd_post}
fi
%postun
%{?regenerate_initrd_post}
%posttrans
# ugly workaround (bsc#1204103)
if [ -L %{_firmwaredir}/qcom/LENOVO/21BX.xxxnew ]; then
rm -rf %{_firmwaredir}/qcom/LENOVO/21BX
mv %{_firmwaredir}/qcom/LENOVO/21BX.xxxnew %{_firmwaredir}/qcom/LENOVO/21BX
fi
%{?regenerate_initrd_posttrans}
fwdir = macros._firmwaredir
end
path = fwdir .. "/qcom/LENOVO/21BX"
st = posix.stat(path)
if st and st.type == "directory" then
status = os.rename(path, path .. ".rpmmoved")
if not status then
suffix = 0
while not status do
suffix = suffix + 1
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
end
os.rename(path, path .. ".rpmmoved")
end
end