diff options
author | Karel Zak | 2014-06-19 10:18:46 +0200 |
---|---|---|
committer | Karel Zak | 2014-06-19 10:30:56 +0200 |
commit | 2ad2196349e25d3af4beea2bfd444f85b987f9da (patch) | |
tree | 117bead56a2a175cfa3a5df342129264fedd47c1 /include/pathnames.h | |
parent | build-sys: add libsmartcols to ko-release-gen script (diff) | |
download | kernel-qcow2-util-linux-2ad2196349e25d3af4beea2bfd444f85b987f9da.tar.gz kernel-qcow2-util-linux-2ad2196349e25d3af4beea2bfd444f85b987f9da.tar.xz kernel-qcow2-util-linux-2ad2196349e25d3af4beea2bfd444f85b987f9da.zip |
build-sys: support ./configure ADJTIME_PATH=
.. to override the default /etc/adjtime path.
Reported-by: Bruce Dubbs <bruce.dubbs@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r-- | include/pathnames.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index b6efdb7dc..1cc4e15e6 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -150,7 +150,11 @@ #define _PATH_DEV_BYPARTUUID "/dev/disk/by-partuuid" /* hwclock paths */ +#ifdef CONFIG_ADJTIME_PATH +# define _PATH_ADJTIME CONFIG_ADJTIME_PATH +#else # define _PATH_ADJTIME "/etc/adjtime" +#endif #define _PATH_LASTDATE "/var/lib/lastdate" #ifdef __ia64__ |