summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-07-16 11:13:32 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2012-07-16 11:17:02 +0200
commit3f5cdf20cd65173cc36f765ebe68134299c9cbc8 (patch)
tree36c44788d5ad315e4b404363c51d3eb8e5938816
parent35ebc5d343e2e01b719ce15c801d522a36e54ac4 (diff)
downloadlvm2-3f5cdf20cd65173cc36f765ebe68134299c9cbc8.tar.gz
lvm2-3f5cdf20cd65173cc36f765ebe68134299c9cbc8.tar.xz
lvm2-3f5cdf20cd65173cc36f765ebe68134299c9cbc8.zip
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
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index e54efd30..ca71fdb0 100755
--- a/configure
+++ b/configure
@@ -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
################################################################################
diff --git a/configure.in b/configure.in
index 6c273245..8bf0c4e3 100644
--- a/configure.in
+++ b/configure.in
@@ -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