On Wed, Apr 08, 2020 at 07:40:24AM -0400, Jonathan Billings wrote:
If you need to update kernel parameters, use grubby. That’s what is run in the kernel package install scripts (via new-kernel-package). That’s what is run in packages like the nvidia 3rd party packages.
Sorry, it's 'new-kernel-pkg' in el7, not 'new-kernel-package', and in el8, it's 'kernel-install' which eventually calls new-kernel-pkg.
Look at the output of `rpm -q --scripts kernel` (el7) and `rpm -q --scripts kernel-core` (el8)