install stage 1: Move creation of system image to the very end
parent
14457b1168
commit
3035bd4504
|
@ -434,16 +434,18 @@ fi" > /mnt/target/root/.profile
|
||||||
|
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
echo "Creating system image..."
|
# This is not technically necessary, but it should help to save some memory.
|
||||||
#TODO: make this work without user interaction
|
# TODO: Be smart about this, run install stage 2 in chroot if there is enough free RAM
|
||||||
run_in_target /opt/void-usb/backup-fs
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
echo "Stage 1 installation is now complete.
|
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 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
|
press_any_key
|
||||||
|
|
||||||
|
echo "Creating system image..."
|
||||||
|
#TODO: make this work without user interaction
|
||||||
|
run_in_target /opt/void-usb/backup-fs
|
||||||
reboot
|
reboot
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue