Skip to content

Commit

Permalink
Install kernel-install drop-in to /usr/lib instead of /etc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bluca committed Jul 11, 2024
1 parent 31c5ce3 commit 7a1162f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ SBIN = /usr/sbin
LIBDIR = /usr/lib/dkms
MODDIR = /lib/modules
KCONF = /etc/kernel
KINSTALL = /usr/lib/kernel/install.d
SYSTEMD = /usr/lib/systemd/system

#Define the top-level build directory
Expand Down Expand Up @@ -73,7 +74,7 @@ endif
install -D -m 0644 dkms.bash-completion $(DESTDIR)/usr/share/bash-completion/completions/dkms
install -D -m 0644 dkms.zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_dkms
install -D -m 0644 dkms.8 $(DESTDIR)/usr/share/man/man8/dkms.8
install -D -m 0755 kernel_install.d_dkms $(DESTDIR)$(KCONF)/install.d/40-dkms.install
install -D -m 0755 kernel_install.d_dkms $(DESTDIR)$(KINSTALL)/40-dkms.install
install -D -m 0755 kernel_postinst.d_dkms $(DESTDIR)$(KCONF)/postinst.d/dkms
install -D -m 0755 kernel_prerm.d_dkms $(DESTDIR)$(KCONF)/prerm.d/dkms

Expand Down

0 comments on commit 7a1162f

Please sign in to comment.