import CS alsa-sof-firmware-2024.09.2-2.el10

This commit is contained in:
eabdullin 2025-02-05 09:56:43 +03:00
parent 304d3acd4c
commit a4abce72c7
3 changed files with 35 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
+/sof-bin-*.tar.gz +/sof-bin-*.tar.gz
+/sof-tplg-*.tar.gz +/sof-tplg-*.tar.gz
+/avs-topology_*.tar.gz +/avs-topology_*.tar.gz
/sof-bin-2024.09.tar.gz /sof-bin-2024.09.2.tar.gz

View File

@ -4,7 +4,7 @@
%global _firmwarepath /usr/lib/firmware %global _firmwarepath /usr/lib/firmware
%global _xz_opts -9 --check=crc32 %global _xz_opts -9 --check=crc32
%global sof_ver 2024.09 %global sof_ver 2024.09.2
#global sof_ver_pre rc1 #global sof_ver_pre rc1
%global sof_ver_rel %{?sof_ver_pre:.%{sof_ver_pre}} %global sof_ver_rel %{?sof_ver_pre:.%{sof_ver_pre}}
%global sof_ver_pkg0 %{sof_ver}%{?sof_ver_pre:-%{sof_ver_pre}} %global sof_ver_pkg0 %{sof_ver}%{?sof_ver_pre:-%{sof_ver_pre}}
@ -18,7 +18,7 @@
Summary: Firmware and topology files for Sound Open Firmware project Summary: Firmware and topology files for Sound Open Firmware project
Name: alsa-sof-firmware Name: alsa-sof-firmware
Version: %{sof_ver} Version: %{sof_ver}
Release: 1%{?sof_ver_rel}%{?dist} Release: 2%{?sof_ver_rel}%{?dist}
# See later in the spec for a breakdown of licensing # See later in the spec for a breakdown of licensing
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/thesofproject/sof-bin URL: https://github.com/thesofproject/sof-bin
@ -49,7 +49,7 @@ This package contains the debug files for the Sound Open Firmware project.
mkdir -p firmware/intel mkdir -p firmware/intel
for d in sof sof-ipc4 sof-ipc4-tplg sof-tplg; do \ for d in sof sof-ipc4 sof-ipc4-lib sof-ipc4-tplg sof-tplg; do \
mv "${d}" firmware/intel; \ mv "${d}" firmware/intel; \
done done
@ -79,7 +79,21 @@ for d in sof sof-ipc4; do \
pushd "${n}"; \ pushd "${n}"; \
ln -svf "${l}.xz" "${b}.xz"; \ ln -svf "${l}.xz" "${b}.xz"; \
popd; \ popd; \
done done; \
done
for d in sof-ipc4-lib; do \
for e in bin llext; do \
find -P "firmware/intel/${d}" -type f -name "*.${e}" -exec xz -z %{_xz_opts} {} \;
for f in $(find -P "firmware/intel/${d}" -type l -name "*.${e}"); do \
l=$(readlink "${f}"); \
n=$(dirname "${f}"); \
b=$(basename "${f}"); \
rm "${f}"; \
pushd "${n}"; \
ln -svf "${l}.xz" "${b}.xz"; \
popd; \
done; \
done; \
done done
for d in sof-tplg sof-ipc4-tplg; do \ for d in sof-tplg sof-ipc4-tplg; do \
find -P "firmware/intel/${d}" -type f -name "*.tplg" -exec xz -z %{_xz_opts} {} \; find -P "firmware/intel/${d}" -type f -name "*.tplg" -exec xz -z %{_xz_opts} {} \;
@ -103,6 +117,8 @@ FILEDIR=$(pwd)
pushd %{buildroot}/%{_firmwarepath} pushd %{buildroot}/%{_firmwarepath}
find -P . -name "*.ri.xz" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files find -P . -name "*.ri.xz" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files
#find -P . -name "*.tplg" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files #find -P . -name "*.tplg" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files
find -P . -name "*.llext.xz" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files
find -P intel/sof-ipc4-lib -name "*.bin.xz" | sed -e '/^.$/d' >> $FILEDIR/alsa-sof-firmware.files
find -P . -name "*.ldc" | sed -e '/^.$/d' > $FILEDIR/alsa-sof-firmware.debug-files find -P . -name "*.ldc" | sed -e '/^.$/d' > $FILEDIR/alsa-sof-firmware.debug-files
find -P . -type d | sed -e '/^.$/d' > $FILEDIR/alsa-sof-firmware.dirs find -P . -type d | sed -e '/^.$/d' > $FILEDIR/alsa-sof-firmware.dirs
popd popd
@ -146,6 +162,19 @@ if st and st.type == "directory" then
end end
%changelog %changelog
* Wed Dec 18 2024 Jaroslav Kysela <perex@perex.cz> - 2024.09.2-2
- Add sof-ipc4-lib directory
* Fri Dec 6 2024 Jaroslav Kysela <perex@perex.cz> - 2024.09.2-1
- Update to v2024.09.2
* Mon Nov 11 2024 Jaroslav Kysela <perex@perex.cz> - 2024.09.1-1
- Update to v2024.09.1
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2024.09-2
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Oct 14 2024 Jaroslav Kysela <perex@perex.cz> - 2024.09-1 * Mon Oct 14 2024 Jaroslav Kysela <perex@perex.cz> - 2024.09-1
- Update to v2024.09 - Update to v2024.09

View File

@ -1 +1 @@
SHA512 (sof-bin-2024.09.tar.gz) = b8a199afba7289a39485662741fbf8ecb47e9c91e461478e3e2d523c12986bfddf8a1f61b4ba0a2c689008de8808a2df00f05aacb541a2fb16a6a5dbd7481ecf fadb9078705e0813897650e19166ad0d81710f8ba08ecb74de413a0bd7b27d73f9dcedd4583687f9deefd22ccb78b56ede8fbc5ab6fbd56e181c6b63be816a18 sof-bin-2024.09.2.tar.gz