1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

configure: default tmpfile dir in PREFIX/lib/tmpfiles.d

SYSCONFDIR (the /etc) contains overrides to system-wide settings.
System-wide settings are in PREFIX/lib/tmpfiles.d by default
This commit is contained in:
Peter Rajnoha 2012-07-16 11:13:32 +02:00
parent 35ebc5d343
commit 3f5cdf20cd
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -1613,7 +1613,7 @@ Optional Packages:
systemd service files in DIR
--with-tmpfilesdir=DIR install configuration files for management of
volatile files and directories in DIR
[[SYSCONFDIR/tmpfiles.d]]
[[PREFIX/lib/tmpfiles.d]]
--with-dmeventd-pidfile=PATH
dmeventd pidfile [[PID_DIR/dmeventd.pid]]
--with-dmeventd-path=PATH
@ -9925,7 +9925,7 @@ fi
if test "${with_tmpfilesdir+set}" = set; then :
withval=$with_tmpfilesdir; tmpfilesdir=$withval
else
tmpfilesdir='${sysconfdir}/tmpfiles.d'
tmpfilesdir='${prefix}/lib/tmpfiles.d'
fi
################################################################################

View File

@ -1280,8 +1280,8 @@ fi
################################################################################
AC_ARG_WITH(tmpfilesdir,
AC_HELP_STRING([--with-tmpfilesdir=DIR],
[install configuration files for management of volatile files and directories in DIR [[SYSCONFDIR/tmpfiles.d]]]),
tmpfilesdir=$withval, tmpfilesdir='${sysconfdir}/tmpfiles.d')
[install configuration files for management of volatile files and directories in DIR [[PREFIX/lib/tmpfiles.d]]]),
tmpfilesdir=$withval, tmpfilesdir='${prefix}/lib/tmpfiles.d')
################################################################################
dnl -- Ensure additional headers required
if test x$READLINE = xyes; then