This is make-initrd ebuild repository.
- Add this overlay:
$ eselect repository add make-initrd-overlay git https://github.com/osboot/gentoo-make-initrd-overlay
- Mask
sys-kernel/installkernel::gentoo
to avoid accidentally switching to the original Gentoo package. - Change USE flags for
sys-kernel/installkernel
:make-initrd -dracut
, to use make-initrd instead of dracut to generate initrd. - If you use either
sys-kernel/gentoo-kernel
orsys-kernel/gentoo-kernel-bin
kernel pacakge, change USE flags for the package:-initramfs
, to avoid dependency onsys-kernel/installkernel[dracut]
, which exists just to ensure you do not end up without any initrd, but doesn't make sense with this overlay. - Emerge
sys-kernel/installkernel::make-initrd-overlay
.