mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Move ipa-epn systemd files and run RPM hooks
The init/systemd directory is for server only and not part of CLIENT_ONLY builds. It's necesary to run pre/post installation hooks to make systemd aware of new files. Fixes: https://pagure.io/freeipa/issue/8367 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
committed by
François Cami
parent
1487665779
commit
a18d406b56
19
server.m4
19
server.m4
@@ -153,22 +153,3 @@ dnl Check for libverto
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
PKG_CHECK_MODULES([LIBVERTO], [libverto])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check for systemd directories
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
PKG_CHECK_EXISTS([systemd], [], [AC_MSG_ERROR([systemd not found])])
|
||||
AC_ARG_WITH([systemdsystemunitdir],
|
||||
AS_HELP_STRING([--with-systemdsystemunitdir=DIR],
|
||||
[Directory for systemd service files]),
|
||||
[systemdsystemunitdir=$with_systemdsystemunitdir],
|
||||
[systemdsystemunitdir=$($PKG_CONFIG --define-variable=prefix='${prefix}' --variable=systemdsystemunitdir systemd)])
|
||||
AC_SUBST([systemdsystemunitdir])
|
||||
|
||||
AC_ARG_WITH([systemdtmpfilesdir],
|
||||
AS_HELP_STRING([--with-systemdtmpfilesdir=DIR],
|
||||
[Directory for systemd-tmpfiles configuration files]),
|
||||
[systemdtmpfilesdir=$with_systemdtmpfilesdir],
|
||||
[systemdtmpfilesdir=$($PKG_CONFIG --define-variable=prefix='${prefix}' --variable=tmpfilesdir systemd)])
|
||||
AC_SUBST([systemdtmpfilesdir])
|
||||
|
||||
Reference in New Issue
Block a user