Compare commits
2 Commits
175ad8e3be
...
61646d9d04
Author | SHA1 | Date |
---|---|---|
BodgeMaster | 61646d9d04 | |
BodgeMaster | 8bcfeaee57 |
|
@ -323,8 +323,6 @@ 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
|
||||
|
||||
run_in_target xbps-reconfigure -fa
|
||||
|
||||
# running chroot directly bc run_in_target function doesn’t allow user input
|
||||
chroot /mnt/target /opt/void-usb/backup-fs
|
||||
run_in_target /opt/void-usb/backup-fs
|
||||
|
||||
#
|
||||
|
|
|
@ -27,21 +27,8 @@ function yesno {
|
|||
done
|
||||
}
|
||||
|
||||
# Overlay should still be mounted, right?
|
||||
|
||||
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: remove
|
||||
bash -i < $TTY_OR_CONSOLE
|
||||
|
||||
#TODO: refuse to run if system is running
|
||||
|
||||
|
|
Loading…
Reference in New Issue