diff options
author | Brian Behlendorf <[email protected]> | 2018-11-11 18:06:36 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2018-11-11 18:06:36 -0800 |
commit | ecd3728b264b94de239932555b7046f1ddb936b2 (patch) | |
tree | d0309d351a139a174827823e764414ef3376eeae /config/user-systemd.m4 | |
parent | 0500bfd0b9f1393af5bae274551147c5b31e7ccc (diff) |
Fix systemd spec file macros
Ensure that the _unitdir, _presetdir, _modulesloaddir, and
_systemdgeneratordir macros are always defined. If not set
them to the expected default values. Pass all of these options
to ./configure and package the resulting files in those locations.
Additionally, set __brp_mangle_shebangs_exclude_from until the
conversion to Python 3 is complete so they may be built cleanly
under mock.
Reviewed-by: Neal Gompa <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #7567
Closes #8119
Diffstat (limited to 'config/user-systemd.m4')
-rw-r--r-- | config/user-systemd.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/user-systemd.m4 b/config/user-systemd.m4 index 5d1f5618a..3e6a4a281 100644 --- a/config/user-systemd.m4 +++ b/config/user-systemd.m4 @@ -18,7 +18,7 @@ AC_DEFUN([ZFS_AC_CONFIG_USER_SYSTEMD], [ AC_ARG_WITH(systemdmodulesloaddir, AC_HELP_STRING([--with-systemdmodulesloaddir=DIR], [install systemd module load files into dir [[/usr/lib/modules-load.d]]]), - systemdmoduleloaddir=$withval,systemdmodulesloaddir=/usr/lib/modules-load.d) + systemdmodulesloaddir=$withval,systemdmodulesloaddir=/usr/lib/modules-load.d) AC_ARG_WITH(systemdgeneratordir, AC_HELP_STRING([--with-systemdgeneratordir=DIR], |