Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dry-run mode #403

Open
TobiPeterG opened this issue Jun 22, 2024 · 2 comments
Open

Add dry-run mode #403

TobiPeterG opened this issue Jun 22, 2024 · 2 comments
Labels
enhancement Issue adding new functionality

Comments

@TobiPeterG
Copy link

I'm one of the contributors to https://github.com/openSUSE/sdbootutil, where we handle systemd-boot on openSUSE based distributions. One issue we have is that we are unable to detect if a rebuilt of the initrd is required and we reuse existing initrds as often as possible as generating an initrd is an expensive operation. This leads to issues, as a user might install a module that doesn't get automatically included in the initrd.

We would love to see a "dry-run" mode in which dracut only checks the configs and modules to find out if the modules/configs have changed since the last build. No initrd should be created, it should just be able to check if a rebuild is required.

This is related to openSUSE/sdbootutil#22

@TobiPeterG TobiPeterG added the enhancement Issue adding new functionality label Jun 22, 2024
@LaszloGombos
Copy link
Collaborator

CC @aafeijoo-suse

@aplanas
Copy link
Contributor

aplanas commented Jun 24, 2024

@TobiPeterG maybe this can help too: openSUSE/suse-module-tools#103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue adding new functionality
Projects
None yet
Development

No branches or pull requests

3 participants