depmod before dracut

This commit is contained in:
Mikhail Novosyolov 2022-10-18 23:20:11 +03:00
parent db6e1a5228
commit 3890e04abc

View file

@ -626,6 +626,9 @@ of the operating system: memory allocation, process allocation, device
input and output, etc. This is a general-purpose kernel.
%posttrans
# update information about modules, useful if kernel-module* packages were
# installed in one transaction with this kernel (%%transfiletrigger* will run later)
depmod -a %{kver_full}
# We always regenerate initrd here, even if it already exists. This may
# happen if kernel-<...>-devel is installed first, triggers rebuild of
# DKMS modules and some of these request remaking of initrd. The initrd