Compare commits

...

2 Commits

Author SHA256 Message Date
Takashi Iwai
3b40846b97 Update to version 20250725 (git commit 4bb152fb4405)
* qcom: Add QCS6490 symlink for QUPv3 firmware
2025-07-25 17:10:09 +02:00
Takashi Iwai
fde6b6ca1d Remove stale *.rpmmoved directories (bsc#1244458) 2025-07-21 17:47:24 +02:00
8 changed files with 41 additions and 38 deletions

2
git_id
View File

@@ -1 +1 @@
ecdbd2b8af04b515732fbf11113cec16651915f0
4bb152fb440528d7abb8a18c3879ea5b4be416c2

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jul 25 15:08:58 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Update to version 20250725 (git commit 4bb152fb4405):
* qcom: Add QCS6490 symlink for QUPv3 firmware
-------------------------------------------------------------------
Mon Jul 21 15:47:24 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Remove stale *.rpmmoved directories (bsc#1244458)
-------------------------------------------------------------------
Tue Jul 15 07:11:06 UTC 2025 - Takashi Iwai <tiwai@suse.com>

View File

@@ -20,17 +20,17 @@
%define _firmwaredir /lib/firmware
%endif
%define __ksyms_path ^%{_firmwaredir}
%define git_version ecdbd2b8af04b515732fbf11113cec16651915f0
%define git_version 4bb152fb440528d7abb8a18c3879ea5b4be416c2
Name: kernel-firmware-qcom
Version: 20250714
Version: 20250725
Release: 0
Summary: Kernel firmware files for Qualcomm device drivers
License: GPL-2.0-or-later AND SUSE-Firmware
Group: System/Kernel
URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
Source0: %{name}-%{version}.tar.xz
Source1: https://github.com/openSUSE/kernel-firmware-tools/archive/refs/tags/20250710.tar.gz#/kernel-firmware-tools-20250710.tar.gz
Source1: https://github.com/openSUSE/kernel-firmware-tools/archive/refs/tags/20250721.tar.gz#/kernel-firmware-tools-20250721.tar.gz
Source2: %{name}-rpmlintrc
Source3: git_id
Source10: aliases
@@ -340,25 +340,21 @@ install -c -D -m 0644 WHENCE %{buildroot}%{_licensedir}/%{name}/WHENCE
install -c -D -m 0644 README.md %{buildroot}%{_docdir}/%{name}/README.md
%pretrans -p <lua>
if not macros then
fwdir = "/lib/firmware"
else
fwdir = macros._firmwaredir
end
path = fwdir .. "/qcom/LENOVO/21BX"
path = "%{_firmwaredir}/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")
path2 = path .. ".rpmmoved"
if not os.rename(path, path2) then
print("Cannot rename to " .. path2)
os.exit(1)
end
end
%posttrans
if test -d %{_firmwaredir}/qcom/LENOVO/21BX.rpmmoved; then
rm -rf %{_firmwaredir}/qcom/LENOVO/21BX.rpmmoved
fi
%files
%doc %{_docdir}/%{name}
%license %{_licensedir}/%{name}

BIN
kernel-firmware-tools-20250710.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
kernel-firmware-tools-20250721.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

24
post
View File

@@ -1,19 +1,15 @@
%pretrans -p <lua>
if not macros then
fwdir = "/lib/firmware"
else
fwdir = macros._firmwaredir
end
path = fwdir .. "/qcom/LENOVO/21BX"
path = "%{_firmwaredir}/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")
path2 = path .. ".rpmmoved"
if not os.rename(path, path2) then
print("Cannot rename to " .. path2)
os.exit(1)
end
end
%posttrans
if test -d %{_firmwaredir}/qcom/LENOVO/21BX.rpmmoved; then
rm -rf %{_firmwaredir}/qcom/LENOVO/21BX.rpmmoved
fi