From 9921eabcc08ed121d7d47ef971d524a3cfe87e87 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 23 Jul 2019 17:53:20 +0200 Subject: [slx-clock] ntpdate > timesyncd --- builder/modules.d/slx-clock/module-setup.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/builder/modules.d/slx-clock/module-setup.sh b/builder/modules.d/slx-clock/module-setup.sh index 50c36fe6..1a9956e3 100755 --- a/builder/modules.d/slx-clock/module-setup.sh +++ b/builder/modules.d/slx-clock/module-setup.sh @@ -5,9 +5,12 @@ check() { return 255 } depends() { - echo dnbd3-rootfs + echo dnbd3-rootfs busybox } install() { - # unpacking config.tgz should be pre-pivot 10, let's do this afterwards - inst_hook pre-pivot 50 "$moddir/scripts/configure-timesyncd.sh" + # wait til we have the openslx config for ntp servers + # which happens in pre-mount/10 + inst_multiple ntpdate /etc/services /usr/share/zoneinfo/Europe/Berlin + inst /usr/share/zoneinfo/Europe/Berlin /etc/localtime + inst_hook pre-mount 15 "$moddir/scripts/ntp-sync.sh" } -- cgit v1.2.3-55-g7522