]> git.proxmox.com Git - mirror_zfs.git/commit - config/user-systemd.m4
Make systemd-modules-load.service file directory configurable
authorRichard Yao <richard.yao@clusterhq.com>
Thu, 18 Sep 2014 13:47:16 +0000 (09:47 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 28 Oct 2014 16:41:14 +0000 (09:41 -0700)
commitb76707027ceca056f8630cbc6660b8e9aa0a8f37
tree8972ebc95695a17ee4c6c9df1f1b6bba31315aef
parent60e9f69c975b1ee40de2f91783e2817be44ec8a7
Make systemd-modules-load.service file directory configurable

Installing outside of the prefix is not permissible under Gentoo Prefix.
The package manager will cause the installation process to fail if/when
it sees this. We could handle this by disabling systemd support on
prefix because systemd does not check these paths, but the Gentoo
Council decided that small files such as these should be installed.
That means disabling systemd support on prefix is not an acceptable
workaround. As a consequence, we need some way of control the directory
into which these files are installed.

Making this configurable increases our compliance with the
freedesktop.org specification, which allows these files to be installed
into /etc/modules-load.d:

http://www.freedesktop.org/software/systemd/man/modules-load.d.html

Signed-off-by: Richard Yao <richard.yao@clusterhq.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2641
config/user-systemd.m4