* Add extra files needed for dracut
If we are dropping cos-immutable-rootfs then we have to include the
missing files that the package already added.
For example, the several dracut configs of modules for the initramfs
stage, or the general config for the dracut file.
We also need to install and link the initramfs elemental stage service
as that its no longer provided by the cos-immutable-rootfs package and
not integrated into immucore yet
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
* Minor improvements
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
---------
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
For easy debugging
Also fixes missing stuff on dracut build to be able to still run the
cos-setup-rootfs/initramfs services and adds the missing elemental
binary to the initramfs.
As we remove the cos-immutable-rootfs module for dracut then both the
services and binary doesnt get included.
Signed-off-by: Itxaka <itxaka@spectrocloud.com>