Sync from SUSE:SLFO:Main sof-firmware revision 0336f4ccce1e8eefbd9ecf6c4bd253a3

This commit is contained in:
2025-07-19 09:57:44 +02:00
parent 05eb00b664
commit 01b9a94af7
4 changed files with 23 additions and 13 deletions
+8
View File
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jun 18 13:01:14 UTC 2025 - Takashi Iwai <tiwai@suse.com>
- Update to v2025.05:
For v2.13 series (Meteor Lake and newer), new DSP topologies added
- Modify the workaround for symlink -> directory change with Lua
script for singletrans
-------------------------------------------------------------------
Mon Apr 14 08:23:56 UTC 2025 - Takashi Iwai <tiwai@suse.com>
+12 -10
View File
@@ -24,7 +24,7 @@ Name: sof-firmware
Summary: Firmware data files for SOF Drivers
License: BSD-3-Clause
Group: Hardware/Other
Version: 2025.01.1
Version: 2025.05
Release: 0
URL: https://www.sofproject.org/
BuildRequires: fdupes
@@ -115,15 +115,17 @@ cp -a %{buildroot}%{_firmwaredir}/intel/sof-ipc4-tplg \
%fdupes -s %{buildroot}
# workaround for changing symlinked directory
%pre
if [ -L %{_firmwaredir}/intel/sof-tplg ]; then
f=$(readlink -f %{_firmwaredir}/intel/sof-tplg)
case $f in
%{_firmwaredir}/intel/*)
rm -rf $f
rm -f %{_firmwaredir}/intel/sof-tplg;;
esac
fi
%pretrans -p <lua>
if not macros then
fwdir = "/lib/firmware"
else
fwdir = macros._firmwaredir
end
path = fwdir .. "/intel/sof-tplg"
st = posix.stat(path)
if st and st.type == "link" then
os.remove(path)
end
%post
%{?regenerate_initrd_post}
Binary file not shown.
BIN
View File
Binary file not shown.