modprobe.d: fix directory of modprobe configuration file (#7149)

kmod upstream uses /lib/modprobe.d which means we need to use rootprefix
instead of prefix for installing the modprobe configuration file as
otherwise split-usr systems are broken.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879191
This commit is contained in:
Michael Biebl 2017-10-21 08:32:50 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 6852c0f6b0
commit 02fa054dc4

View File

@ -83,7 +83,7 @@ polkitpkladir = join_paths(localstatedir, 'lib/polkit-1/localauthority/10-vendor
varlogdir = join_paths(localstatedir, 'log') varlogdir = join_paths(localstatedir, 'log')
xinitrcdir = join_paths(sysconfdir, 'X11/xinit/xinitrc.d') xinitrcdir = join_paths(sysconfdir, 'X11/xinit/xinitrc.d')
rpmmacrosdir = get_option('rpmmacrosdir') rpmmacrosdir = get_option('rpmmacrosdir')
modprobedir = join_paths(prefixdir, 'lib/modprobe.d') modprobedir = join_paths(rootprefixdir, 'lib/modprobe.d')
# Our own paths # Our own paths
pkgdatadir = join_paths(datadir, 'systemd') pkgdatadir = join_paths(datadir, 'systemd')