initramfs: Include systemd-timesyncd module
basementhud/pipeline/head This commit looks good Details

This should ensure the clock is set correctly before switching to the
real root, which will make log entries a lot easier to read.
pull/1/head
Dustin 2022-04-06 14:35:15 -05:00
parent f25226ebb5
commit 3efdfa9e54
1 changed files with 1 additions and 1 deletions

View File

@ -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 \