diff options
author | Ben Pfaff <blp@nicira.com> | 2012-03-01 16:38:27 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-03-01 16:38:27 -0800 |
commit | 14bd2d514e44aa46326cede67f198716def2d067 (patch) | |
tree | 212537692d0a3d6dbfda32bec8b256493919c26b /m4/openvswitch.m4 | |
parent | 748dca871d1f8a06d33a1002e1dfabb74b16c9b6 (diff) | |
download | openvswitch-14bd2d514e44aa46326cede67f198716def2d067.tar.gz |
debian: Move PKI directory to FHS-compliant location.
The PKI directory is mutable state, so it should be in /var, not in /usr.
This commit changes its location and, on systems upgraded from earlier
versions, moves the existing PKI and leaves behind a symlink.
CC: 661090@bugs.debian.org
Reported-by: Andreas Beckmann <debian@abeckmann.de>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'm4/openvswitch.m4')
-rw-r--r-- | m4/openvswitch.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index c59d5d4c1..9b2a5baf7 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -1,6 +1,6 @@ # -*- autoconf -*- -# Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. +# Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira Networks. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -106,9 +106,9 @@ AC_DEFUN([OVS_CHECK_PKIDIR], [AC_ARG_WITH( [pkidir], AC_HELP_STRING([--with-pkidir=DIR], - [PKI hierarchy directory [[DATADIR/openvswitch/pki]]]), + [PKI hierarchy directory [[LOCALSTATEDIR/lib/openvswitch/pki]]]), [PKIDIR=$withval], - [PKIDIR='${pkgdatadir}/pki']) + [PKIDIR='${localstatedir}/lib/openvswitch/pki']) AC_SUBST([PKIDIR])]) dnl Checks for the directory in which to store pidfiles. |