azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

initramfs generation needs to be streamlined

Open dmcilvaney opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. The current mkinitrd is archaic. We should be directly invoking dracut to generate an initramfs.

Describe the solution you'd like Refactor all code that calls mkinitrd to instead call dracut, better use the existing configuraiton options of dracut (ie hostonly, etc.).

Additional context Add any other context or screenshots about the feature request here.

dmcilvaney avatar Dec 15 '23 00:12 dmcilvaney

Some recent commits seems to be increasing the usage of mkinitrd - https://github.com/microsoft/azurelinux/pull/7358

PR commit switches to use the default way mkinitrd to build / update the initrd img for DM-Verity, instead of using dracut to build another new initramfs img

CC @liulanze

LaszloGombos avatar Mar 20 '24 16:03 LaszloGombos