Skip to content

[HELP] Is there a way to add the plymouth module to dracut? #1074

@ProbstDJakob

Description

@ProbstDJakob

I am trying to build a container image which will be deployed to bare metal machines. In order to test this first I am building a qcow2 file via bootc-image-builder and running it with qemu. In order to not scare away users with a wall of text at the start up, I would like to add a plymouth boot screen. Installing plymouth and setting the default theme is not the problem, but generating an initramfs.img containing the theme is. As far as I understand the process and bootc, initrds are generated when building the image and placed at /usr/lib/modules/<kernel-version>/initramfs.img. But no matter what I am doing, I am unable to add the dracut module plymouth. I've even tried it with a config at /usr/lib/dracut/dracut.conf.d/99-plymouth.conf containing add_dracutmodules+=" plymouth " and force_add_dracutmodules+=" plymouth ", but without luck. The output of lsinitrd stays the same and thus no plymouth boot screen appears. Besides manually adding it, if I am correct the plymouth module should already be added by default. But that is just a guess, since I do not know to what some of the variables would expand during the execution of the check function.

My question is, how to get plymouth to work and is it even possible at the moment to specify "custom" dracut modules?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions