Initial version
OBS-URL: https://build.opensuse.org/package/show/Kernel:firmware/ucode-amd?expand=0&rev=1
This commit is contained in:
commit
0d92dac2f9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
kernel-firmware-tools.tar.xz
Normal file
3
kernel-firmware-tools.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05e3dad7aa0f081cac9aef4898907eca324aef31fafbed29d69842a548cb408b
|
||||
size 14220
|
4
topicprovs
Normal file
4
topicprovs
Normal file
@ -0,0 +1,4 @@
|
||||
# new style (after 3.12 kernel somewhen)
|
||||
Supplements: modalias(cpu:type%%3Ax86*ven0002*)
|
||||
# old style (before 3.16 kernel)
|
||||
Supplements: modalias(x86cpu:vendor%%3A0002%%3Afamily%%3A*%%3Amodel%%3A*%%3Afeature%%3A*)
|
3
ucode-amd-20250205.tar.xz
Normal file
3
ucode-amd-20250205.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:007e2599ce1f77a37e0157c14ffd37f008506b0499061226f672b61f90b005b0
|
||||
size 128592
|
1
ucode-amd-rpmlintrc
Normal file
1
ucode-amd-rpmlintrc
Normal file
@ -0,0 +1 @@
|
||||
addFilter("arch-independent-package-contains-binary-or-object")
|
5291
ucode-amd.changes
Normal file
5291
ucode-amd.changes
Normal file
File diff suppressed because it is too large
Load Diff
88
ucode-amd.spec
Normal file
88
ucode-amd.spec
Normal file
@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package ucode-amd
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} < 1550
|
||||
%define _firmwaredir /lib/firmware
|
||||
%endif
|
||||
%define __ksyms_path ^%{_firmwaredir}
|
||||
%define git_version 429bdd620eb1fda8252a441cde1aac455b71ad6b
|
||||
|
||||
Name: ucode-amd
|
||||
Version: 20250205
|
||||
Release: 0
|
||||
Summary: Kernel firmware files for Microcode updates for AMD CPUs
|
||||
License: SUSE-Firmware AND GPL-2.0-or-later
|
||||
Group: System/Kernel
|
||||
URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
|
||||
Source0: ucode-amd-%{version}.tar.xz
|
||||
Source1: kernel-firmware-tools.tar.xz
|
||||
Source2: ucode-amd-rpmlintrc
|
||||
Source3: git_id
|
||||
Source10: topicprovs
|
||||
BuildRequires: suse-module-tools
|
||||
Requires(post): %{_bindir}/mkdir
|
||||
Requires(post): %{_bindir}/touch
|
||||
Requires(postun):%{_bindir}/mkdir
|
||||
Requires(postun):%{_bindir}/touch
|
||||
Requires(post): dracut >= 049
|
||||
Conflicts: kernel < 5.3
|
||||
Conflicts: kernel-firmware-uncompressed
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} >= 1550
|
||||
# make sure we have post-usrmerge filesystem package on TW
|
||||
Conflicts: filesystem < 84
|
||||
%endif
|
||||
# new style (after 3.12 kernel somewhen)
|
||||
Supplements: modalias(cpu:type%%3Ax86*ven0002*)
|
||||
# old style (before 3.16 kernel)
|
||||
Supplements: modalias(x86cpu:vendor%%3A0002%%3Afamily%%3A*%%3Amodel%%3A*%%3Afeature%%3A*)
|
||||
|
||||
%description
|
||||
This package contains kernel firmware files for Microcode updates for AMD CPUs.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -p1
|
||||
# strip down WHENCE for the topic
|
||||
scripts/strip-topic-whence.sh ucode-amd < WHENCE > WHENCE.new
|
||||
mv WHENCE.new WHENCE
|
||||
|
||||
%build
|
||||
# nothing to do
|
||||
|
||||
%install
|
||||
./copy-firmware.sh -v --xz -j1 %{buildroot}%{_firmwaredir}
|
||||
scripts/install-licenses.sh ucode-amd %{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
|
||||
|
||||
%post
|
||||
%{?regenerate_initrd_post}
|
||||
|
||||
%postun
|
||||
%{?regenerate_initrd_post}
|
||||
|
||||
%posttrans
|
||||
%{?regenerate_initrd_posttrans}
|
||||
|
||||
%files
|
||||
%doc %{_docdir}/%{name}
|
||||
%license %{_licensedir}/%{name}
|
||||
%{_firmwaredir}
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user