mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
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:
parent
6852c0f6b0
commit
02fa054dc4
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user