Save fake hardware clock time
This commit is contained in:
parent
2aeef3688f
commit
69d132a585
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -461,6 +461,10 @@ done
|
||||||
|
|
||||||
rm -f "$MOUNT_DIR/root/.vnc/private.key"
|
rm -f "$MOUNT_DIR/root/.vnc/private.key"
|
||||||
|
|
||||||
|
chroot_mount << EOF
|
||||||
|
fake-hwclock save
|
||||||
|
EOF
|
||||||
|
|
||||||
ROOT_DEV=$(mount | grep "$MOUNT_DIR " | cut -f1 -d' ')
|
ROOT_DEV=$(mount | grep "$MOUNT_DIR " | cut -f1 -d' ')
|
||||||
|
|
||||||
unmount "$MOUNT_DIR"
|
unmount "$MOUNT_DIR"
|
||||||
|
|
Reference in a new issue