Compare commits

..

No commits in common. "61646d9d04ff918379e89acda4f8fdf848b4c815" and "175ad8e3be7b324cf56154b718c07546de9b75c9" have entirely different histories.

2 changed files with 18 additions and 3 deletions

View File

@ -323,6 +323,8 @@ wget --output-document=/mnt/target/etc/kernel.d/post-remove/99-void-usb https://
chmod 744 /mnt/target/etc/kernel.d/post-remove/99-void-usb chmod 744 /mnt/target/etc/kernel.d/post-remove/99-void-usb
run_in_target xbps-reconfigure -fa run_in_target xbps-reconfigure -fa
run_in_target /opt/void-usb/backup-fs
# running chroot directly bc run_in_target function doesnt allow user input
chroot /mnt/target /opt/void-usb/backup-fs
# #

View File

@ -27,8 +27,21 @@ function yesno {
done done
} }
#TODO: remove # Overlay should still be mounted, right?
bash -i < $TTY_OR_CONSOLE
cat /proc/mounts
read -p "
press any key" -n1 DISCARD_ME < $TTY_OR_CONSOLE
# And no services running?
ps aux | grep -vF "[kworker"
read -p "
press any key" -n1 DISCARD_ME < $TTY_OR_CONSOLE
#TODO: remove above debugging sanity checks
#TODO: refuse to run if system is running #TODO: refuse to run if system is running