diff options
Diffstat (limited to 'export-image')
| -rwxr-xr-x | export-image/05-finalise/01-run.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/export-image/05-finalise/01-run.sh b/export-image/05-finalise/01-run.sh index 79a01e2..251b4df 100755 --- a/export-image/05-finalise/01-run.sh +++ b/export-image/05-finalise/01-run.sh @@ -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 |
