Hardcode storage path as /var/lib/fprint

--localstatedir (and --prefix) will now be ignored in favour of this
hardcoded path.  This is in preparation for a change to use systemd's
StateDirectory feature.
This commit is contained in:
Will Thompson
2019-03-15 10:52:48 +00:00
committed by Will Thompson
parent 8ae7abc6c2
commit 9ed8767cb3
4 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,7 @@ AM_CFLAGS = \
$(DAEMON_CFLAGS) \
-DG_LOG_DOMAIN=\""fprintd"\" \
-DLOCALEDIR=\""$(datadir)/locale"\" \
-DPLUGINDIR=\""$(libdir)/fprintd/modules"\" \
-DFILE_STORAGE_PATH=\""$(localstatedir)/lib/fprint"\"
-DPLUGINDIR=\""$(libdir)/fprintd/modules"\"
libfprintd_la_SOURCES = \
manager.c device.c \

View File

@ -39,6 +39,7 @@
#include "file_storage.h"
#define FILE_STORAGE_PATH "/var/lib/fprint"
#define DIR_PERMS 0700
#define FP_FINGER_IS_VALID(finger) \