diskimage-builder/diskimage_builder/elements/redhat-common/finalise.d
Steve Baker 19ecc16d97 Revert "Use rpm -e instead of dnf for cleaning old kernels"
Using rpm -e to remove old kernels fails when other packages also
depend on the removed kernel.

This change reverts back to using dnf to remove the kernel, but also
sets the config value protect_running_kernel=False to avoid the issue
where the build host kernel version matches the version of the package
being deleted.

reverts commit 1ac31afd62.

Change-Id: Ie58630c23a34f2db34f3934abbd0c1076ab9d835
2022-02-09 03:33:34 +00:00
..
01-clean-old-kernels Revert "Use rpm -e instead of dnf for cleaning old kernels" 2022-02-09 03:33:34 +00:00