Revert OL modifications
This commit is contained in:
parent
6525c03500
commit
19e4e1f937
@ -1,6 +1,15 @@
|
|||||||
model GenuineIntel 06-4f-01
|
model GenuineIntel 06-4f-01
|
||||||
path intel-ucode/06-4f-01
|
path intel-ucode/06-4f-01
|
||||||
kernel 6.12.0
|
kernel 4.17.0
|
||||||
kernel 6.11.0
|
kernel 3.10.0-894
|
||||||
|
kernel 3.10.0-862.6.1
|
||||||
|
kernel 3.10.0-693.35.1
|
||||||
|
kernel 3.10.0-514.52.1
|
||||||
|
kernel 3.10.0-327.70.1
|
||||||
|
kernel 2.6.32-754.1.1
|
||||||
|
kernel 2.6.32-573.58.1
|
||||||
|
kernel 2.6.32-504.71.1
|
||||||
|
kernel 2.6.32-431.90.1
|
||||||
|
kernel 2.6.32-358.90.1
|
||||||
dependency required intel skip=success match-model-mode=off
|
dependency required intel skip=success match-model-mode=off
|
||||||
disable late
|
disable early late
|
||||||
|
|||||||
@ -43,10 +43,6 @@ debug() { [ 0 = "$verbose" ] || echo "$*" >&2; }
|
|||||||
# $* - list of kernel versions to check against
|
# $* - list of kernel versions to check against
|
||||||
check_kver()
|
check_kver()
|
||||||
{
|
{
|
||||||
case "$1" in
|
|
||||||
*ueknext*) return 0;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
local t_major= t_minor= t_patch= t_y= t_z1= t_z2= t_rest=
|
local t_major= t_minor= t_patch= t_y= t_z1= t_z2= t_rest=
|
||||||
local m_major= m_minor= m_patch= m_y= m_z1= m_z2= m_rest=
|
local m_major= m_minor= m_patch= m_y= m_z1= m_z2= m_rest=
|
||||||
local cmp_type=
|
local cmp_type=
|
||||||
|
|||||||
10
intel_config
10
intel_config
@ -1,6 +1,8 @@
|
|||||||
path intel-ucode/*
|
path intel-ucode/*
|
||||||
vendor GenuineIntel
|
vendor GenuineIntel
|
||||||
kernel_early 6.12.0
|
kernel_early 4.10.0
|
||||||
kernel_early 6.11.0
|
kernel_early 3.10.0-930
|
||||||
kernel 6.12.0
|
kernel_early 3.10.0-862.14.1
|
||||||
kernel 6.11.0
|
kernel_early 3.10.0-693.38.1
|
||||||
|
kernel_early 3.10.0-514.57.1
|
||||||
|
kernel_early 3.10.0-327.73.1
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
Summary: CPU microcode updates for Intel x86 processors
|
Summary: CPU microcode updates for Intel x86 processors
|
||||||
Name: microcode_ctl
|
Name: microcode_ctl
|
||||||
Version: %{intel_ucode_version}
|
Version: %{intel_ucode_version}
|
||||||
Release: 1.1.0.1%{?dist}
|
Release: 1.1%{?dist}
|
||||||
Epoch: 4
|
Epoch: 4
|
||||||
License: CC0 and Redistributable, no modification permitted
|
License: CC0 and Redistributable, no modification permitted
|
||||||
URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
|
URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files
|
||||||
@ -251,11 +251,6 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
if grep -q hypervisor /proc/cpuinfo && [ ! -e /dev/xen/xenbus_backend ]; then
|
|
||||||
# we are virtualized, so don't bother rebuilding initramfs
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# We only want to regenerate the initramfs for a fully booted
|
# We only want to regenerate the initramfs for a fully booted
|
||||||
# system; if this package happened to e.g. be pulled in as a build
|
# system; if this package happened to e.g. be pulled in as a build
|
||||||
# dependency, it is pointless at best to regenerate the initramfs,
|
# dependency, it is pointless at best to regenerate the initramfs,
|
||||||
@ -296,7 +291,7 @@ fi
|
|||||||
# of RPM name and it has its own versioning scheme both in NVR and uname.
|
# of RPM name and it has its own versioning scheme both in NVR and uname.
|
||||||
# And there's the kernel package split in RHEL 8, so one should look for *-core
|
# And there's the kernel package split in RHEL 8, so one should look for *-core
|
||||||
# and not the main package.
|
# and not the main package.
|
||||||
pkgs="kernel-core kernel-debug-core kernel-rt-core kernel-rt-debug-core kernel-uek-core kernel-uek-debug-core"
|
pkgs="kernel-core kernel-debug-core kernel-rt-core kernel-rt-debug-core"
|
||||||
qf='%%{NAME} %%{VERSION}-%%{RELEASE}.%%{ARCH} %%{installtime}\n'
|
qf='%%{NAME} %%{VERSION}-%%{RELEASE}.%%{ARCH} %%{installtime}\n'
|
||||||
: "${MICROCODE_RPM_KVER_LIMIT=2}"
|
: "${MICROCODE_RPM_KVER_LIMIT=2}"
|
||||||
|
|
||||||
@ -309,12 +304,9 @@ rpm -qa --qf "${qf}" ${pkgs} | sort -r -n -k'3,3' | {
|
|||||||
while read -r pkgname vra install_ts; do
|
while read -r pkgname vra install_ts; do
|
||||||
flavour=''
|
flavour=''
|
||||||
|
|
||||||
# Fix the uname for debug kernels
|
# For x86, only "debug" flavour exists in RHEL 8
|
||||||
case "${pkgname}" in
|
[ "x${pkgname%*-debug-core}" = "x${pkgname}" ] \
|
||||||
kernel-uek-debug-core) flavour='.debug';;
|
|| flavour='+debug'
|
||||||
kernel-debug-core) flavour='+debug';;
|
|
||||||
*) ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
kver_cnt="$((kver_cnt + 1))"
|
kver_cnt="$((kver_cnt + 1))"
|
||||||
kver_uname="${vra}${flavour}"
|
kver_uname="${vra}${flavour}"
|
||||||
@ -475,13 +467,6 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jul 15 2026 EL Errata <el-errata_ww@oracle.com> - 20260512-1.1.0.1
|
|
||||||
- enable use with ueknext and UEK8 kernels
|
|
||||||
- don't bother calling dracut if virtualized
|
|
||||||
- ensure UEK also rebuilds initramfs
|
|
||||||
- enable early update for 06-4f-01
|
|
||||||
- enable early and late load on RHCK
|
|
||||||
|
|
||||||
* Thu May 21 2026 Denys Vlasenko <dvlasenk@redhat.com> - 4:20260512-1.1
|
* Thu May 21 2026 Denys Vlasenko <dvlasenk@redhat.com> - 4:20260512-1.1
|
||||||
- Fix versioning
|
- Fix versioning
|
||||||
|
|
||||||
|
|||||||
0
reload_microcode
Executable file → Normal file
0
reload_microcode
Executable file → Normal file
0
update_ucode
Executable file → Normal file
0
update_ucode
Executable file → Normal file
Loading…
Reference in New Issue
Block a user