From 3035bd45046733a67b37eeb3cf476dda7e7a6113 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Sun, 2 Jul 2023 22:57:05 +0200 Subject: [PATCH] install stage 1: Move creation of system image to the very end --- install-stage1.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/install-stage1.sh b/install-stage1.sh index 5f15cb6..71f15b3 100644 --- a/install-stage1.sh +++ b/install-stage1.sh @@ -434,16 +434,18 @@ fi" > /mnt/target/root/.profile echo "done" -echo "Creating system image..." -#TODO: make this work without user interaction -run_in_target /opt/void-usb/backup-fs - +# This is not technically necessary, but it should help to save some memory. +# TODO: Be smart about this, run install stage 2 in chroot if there is enough free RAM clear echo "Stage 1 installation is now complete. The freshly installed system needs to be booted to continue with stage 2 of the installation process. -The installer will now reboot the computer. +The installer will now create a system image and reboot the computer. " press_any_key + +echo "Creating system image..." +#TODO: make this work without user interaction +run_in_target /opt/void-usb/backup-fs reboot #