View Issue Details

IDProjectCategoryView StatusLast Update
0001013channel: kernel/el8--kernel--request-for-enhancement--public2020-07-01 18:52
Reportertoracat Assigned Toburakkucat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001013: initramfs is not regenerated for kernel-ml upon microcode updates
DescriptionDescription When the microcode_ctl package is installed/updated, the initramfs file is supposed to be regenerated. This does not happen with kernel-ml.

The explanation is in the posttrans scriptlet of microcode_ctl.

rpm -q --scripts microcode_ctl

[quote]
...
# For RPM selection, kernel flavours (like "debug" or "kdump" or "zfcp",
# with only the former being relevant to x86 architecture) are a part or RPM
# name; it's also a part of uname, with different separator used in RHEL 6/7
# and RHEL 8. RT kernel, however, is special, as "rt" is another part
# 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 not the main package.
pkgs="kernel kernel-debug kernel-rt kernel-rt-debug"
...
[/quote]
TagsNo tags attached.

Activities

burakkucat

2020-06-21 13:48

administrator   ~0006979

Acknowledged.

burakkucat

2020-07-01 18:52

administrator   ~0007026

A working triggerin script has been formulated and verified as appropriate --

%triggerin -- microcode_ctl
KVERSION=%{version}-%{release}.%{_target_cpu}
if [ -e "/lib/modules/$KVERSION/modules.dep" ]; then
     /usr/bin/dracut -f --kver $KVERSION
fi

With the recent releases of the kernel-ml-4.7.7-1.el8.elrepo [1] package set, which incorporates the above triggerin script, this RFE has been fulfilled.

Now closing as resolved/fixed.

[1] http://lists.elrepo.org/pipermail/elrepo/2020-July/005287.html

Issue History

Date Modified Username Field Change
2020-06-20 17:13 toracat New Issue
2020-06-20 17:13 toracat Status new => assigned
2020-06-20 17:13 toracat Assigned To => toracat
2020-06-20 17:13 toracat Assigned To toracat => burakkucat
2020-06-21 13:48 burakkucat Note Added: 0006979
2020-07-01 18:52 burakkucat Note Added: 0007026
2020-07-01 18:52 burakkucat Status assigned => resolved
2020-07-01 18:52 burakkucat Resolution open => fixed