From 3efdfa9e54fff6fc3062ac1ea3a90455ce1d1572 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 6 Apr 2022 14:35:15 -0500 Subject: [PATCH] initramfs: Include systemd-timesyncd module This should ensure the clock is set correctly before switching to the real root, which will make log entries a lot easier to read. --- mkinitramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkinitramfs.sh b/mkinitramfs.sh index d5b79b9..4b18454 100644 --- a/mkinitramfs.sh +++ b/mkinitramfs.sh @@ -22,7 +22,7 @@ chroot "${destdir}" depmod -a "${kver}" echo 'Building initramfs image ...' 2>&1 chroot "${destdir}" dracut \ --no-hostonly \ - --modules 'nbd udev-rules dracut-systemd shutdown' \ + --modules 'nbd udev-rules dracut-systemd shutdown systemd-timesyncd' \ --drivers 'genet nbd squashfs' \ --force-drivers 'bcm2835_wdt' \ --force \