From 69d132a585c7e266d5b5a4528ecd639c5cedba2c Mon Sep 17 00:00:00 2001 From: Braiden Vasco Date: Mon, 3 Jul 2017 09:36:59 +0000 Subject: [PATCH] Save fake hardware clock time --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 7a3d6a9..f654127 100755 --- a/build.sh +++ b/build.sh @@ -461,6 +461,10 @@ done rm -f "$MOUNT_DIR/root/.vnc/private.key" +chroot_mount << EOF +fake-hwclock save +EOF + ROOT_DEV=$(mount | grep "$MOUNT_DIR " | cut -f1 -d' ') unmount "$MOUNT_DIR"