Making update-persistent changes to initrd in CentOS
3
votes
1
answer
351
views
I am booting a CentOS image via NFS, which requires a custom
initramfs
from dracut
, with some extra modules. I want the kernel to get updated normally, using yum update
. This will automatically generate a new initramfs
each time the kernel is updated, which doesn't include any of my extra modules.
- How/when does yum update
generate the new initramfs
?
- Can the system be configured so that yum update
includes my custom modules every time?
The goal is to avoid needing yum update
+ dracut -m "etc" name.img kernel.ver
every time we update, since there will be many different system images that we need to maintain.
Asked by Dan
(133 rep)
Apr 14, 2017, 05:47 PM
Last activity: Aug 11, 2023, 08:44 AM
Last activity: Aug 11, 2023, 08:44 AM