From 1560bb1452414ca735c7d6b0026c41f7e8f7f4a4 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Sun, 18 Aug 2024 22:11:39 +0200 Subject: [PATCH] calamares-online: Sync clock with timedatectl Signed-off-by: Peter Jung --- archiso/airootfs/usr/local/bin/calamares-online.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archiso/airootfs/usr/local/bin/calamares-online.sh b/archiso/airootfs/usr/local/bin/calamares-online.sh index 406ab52..763339a 100755 --- a/archiso/airootfs/usr/local/bin/calamares-online.sh +++ b/archiso/airootfs/usr/local/bin/calamares-online.sh @@ -35,6 +35,10 @@ Main() { # Also populate the keys, before starting the Installer, to avoid above issue sudo pacman-key --init sudo pacman-key --populate archlinux cachyos + # Also use timedatectl to sync the time with the hardware clock + # There has been a bunch of reports, that the keyring was created in the future + # Syncing appears to fix it + timedatectl set-ntp true local progname progname="$(basename "$0")"