summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2018-03-21 12:42:04 +0100
committerLennart Poettering <lennart@poettering.net>2018-03-21 12:42:04 +0100
commit5c3376efcde4ebc0ce38328956371a35e550515b (patch)
treedc1b937a7a6dbeeda9ed3d6ba0a44e30975d37e4 /meson.build
parentMerge pull request #8313 from alexgartrell/compression-threshold (diff)
downloadsystemd-5c3376efcde4ebc0ce38328956371a35e550515b.tar.xz
systemd-5c3376efcde4ebc0ce38328956371a35e550515b.zip
time-sync-wait: add service (#8494)
This one-shot service waits until the kernel time has been set to synchronized.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index a381db8ebf..642ccd4491 100644
--- a/meson.build
+++ b/meson.build
@@ -1303,6 +1303,7 @@ includes = include_directories('src/basic',
'src/journal',
'src/resolve',
'src/timesync',
+ 'src/time-wait-sync',
'src/login',
'src/udev',
'src/libudev',
@@ -1885,6 +1886,14 @@ if conf.get('ENABLE_TIMESYNCD') == 1
install_rpath : rootlibexecdir,
install : true,
install_dir : rootlibexecdir)
+
+ executable('systemd-time-wait-sync',
+ 'src/time-wait-sync/time-wait-sync.c',
+ include_directories : includes,
+ link_with : [libshared],
+ install_rpath : rootlibexecdir,
+ install : true,
+ install_dir : rootlibexecdir)
endif
if conf.get('ENABLE_MACHINED') == 1