From c8ce034f93a6ece9e2b45b0f6b7f4ac7f3622340 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Tue, 27 Jun 2023 05:17:58 +0200 Subject: [PATCH] install stage 1: fix backup script --- install-stage1.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install-stage1.sh b/install-stage1.sh index 2ac52f4..ad8197b 100644 --- a/install-stage1.sh +++ b/install-stage1.sh @@ -189,15 +189,14 @@ mkdir -p /mnt/target/opt/void-usb chmod 755 /mnt/target/opt/void-usb wget --output-document=/mnt/target/opt/void-usb/backup-fs https://lostcave.ddnss.de/git/BodgeMaster/void-minecraft-usb/raw/branch/master/opt/backup-fs chmod 744 /mnt/target/opt/void-usb/backup-fs - echo " /opt/void-usb/backup-fs" >> /mnt/target/etc/rc.shutdown echo "# See fstab(5). # -# / and /container are mounted by a script in initramfs -# TODO: add script path +# /container and the underlying image for / are mounted by initramfs +# TODO: add overlayfs UUID=$(blkid --output value --match-tag UUID $TARGET_PART_BOOT) /boot f2fs defaults,nodev,nosuid 0 2 UUID=$(blkid --output value --match-tag UUID $TARGET_PART_EFI) /boot/efi vfat defaults,fmask=0077,dmask=0077 0 2 @@ -303,6 +302,7 @@ chmod 744 /mnt/target/etc/kernel.d/post-remove/99-void-usb run_in_target xbps-reconfigure -fa -run_in_target /opt/void-usb/backup-fs +# running xchroot directly bc run_in_target function doesn’t allow user input +xchroot /mnt/target /opt/void-usb/backup-fs #