calamares-online: Sync clock with timedatectl

Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
Peter Jung committed 2024-08-18 22:11:39 +02:00
1 parent 7d207b8c42
commit 1560bb1452
1 file changed
+4
@@ -35,6 +35,10 @@ Main() {
# Also populate the keys, before starting the Installer, to avoid above issue # Also populate the keys, before starting the Installer, to avoid above issue
sudo pacman-key --init sudo pacman-key --init
sudo pacman-key --populate archlinux cachyos 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 local progname
progname="$(basename "$0")" progname="$(basename "$0")"