Remove fake-hwclock

This commit is contained in:
Serge Schneider
2025-06-06 14:53:26 +01:00
parent 23e7af35a1
commit 6811c1dc41
2 changed files with 3 additions and 4 deletions

View File

@@ -7,12 +7,11 @@ BMAP_FILE="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.bmap"
on_chroot << EOF
update-initramfs -k all -c
if [ -x /etc/init.d/fake-hwclock ]; then
/etc/init.d/fake-hwclock stop
fi
if hash hardlink 2>/dev/null; then
hardlink -t /usr/share/doc
fi
install -m 755 -o systemd-timesync -g systemd-timesync -d /var/lib/systemd/timesync/clock
install -m 644 -o systemd-timesync -g systemd-timesync /dev/null /var/lib/systemd/timesync/clock
EOF
if [ -f "${ROOTFS_DIR}/etc/initramfs-tools/update-initramfs.conf" ]; then

View File

@@ -12,7 +12,7 @@ avahi-daemon
lua5.1
luajit
ca-certificates curl
fake-hwclock nfs-common usbutils
nfs-common usbutils
dosfstools
dphys-swapfile
raspberrypi-sys-mods