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

Ship kernel-install snippet to /usr/ instead of /etc/ #430

Closed
behrmann opened this issue Jul 11, 2024 · 2 comments · Fixed by #431
Closed

Ship kernel-install snippet to /usr/ instead of /etc/ #430

behrmann opened this issue Jul 11, 2024 · 2 comments · Fixed by #431

Comments

@behrmann
Copy link

Currently the 40-dkms.install snippet is shipped to $(DESTDIR)$(KCONF)/install.d/40-dkms.install, but KCONF defaults to /etc/kernel. Unlike the postinst.d and prerm.d machinery kernel-install supports to have these files shipped in /usr/, which allows administrators to add superseding configuration in /etc/. It would therefore be helpful if the file could be shipped in /usr/ instead.

@bluca
Copy link
Contributor

bluca commented Jul 11, 2024

#431

@bluca
Copy link
Contributor

bluca commented Jul 11, 2024

related to #343

bluca added a commit to bluca/dkms that referenced this issue Jul 11, 2024
kernel-install supports picking configuration file from /usr
and that's where vendor-defaults should ship to. /etc is for
local modifications.

Partially fixes dell#343
Fixes dell#430

Signed-off-by: Luca Boccassi <bluca@debian.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants