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

[Enhancement] Add support for a "twin" configuration option that pairs with command line option --include #2678

Open
nagmat84 opened this issue Dec 13, 2024 · 0 comments
Labels
bug Our bugs

Comments

@nagmat84
Copy link

Most command line options also have a corresponding configuration option which can be used in dracut.conf. (For example, --install=<file> becomes install_items=" <file>", etc.). The command line option --include <src> <dst> allows to embed a file into the Initramfs at another location than on the original filesystem.

However there is no configuration option for that. This enhancement asks for adding such an configuration option which mirrors the behavior of the --include command line option.

Why it is important: If one relies on automatic kernel updates, the call chain it usually something like running the update command of your package manager, which in turn calls make all && make modules_install && make install inside the kernel source directory, make install in turn calls the script installkernel, which under the hood calls dracut. Along this chain, there is no option to pass any extra command line options to dracut, unless of course you are willing to patch any of those scripts, but this interferes with any automatic update of those scripts again. Hence, everything dracut has to do, must be configured via the configuration files inside /etc/dracut.conf.d/.

@nagmat84 nagmat84 added the bug Our bugs label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs
Projects
None yet
Development

No branches or pull requests

1 participant