From 9833a7f61ce0ba4bbf254734037628501ea789fa Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Fri, 2 Aug 2024 15:36:07 -0400 Subject: [PATCH] Fix typoneese hell on boot with encryption enabled --- gentoo-install.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gentoo-install.sh b/gentoo-install.sh index cdbf347..5d80602 100755 --- a/gentoo-install.sh +++ b/gentoo-install.sh @@ -182,7 +182,7 @@ function prepare_target() { if [[ "$BootPart" == "@boot" ]]; then ${cmd} mount -o noatime,space_cache=v2,ssd,subvol=@boot "$rootmount" /mnt/gentoo/boot else - ${cmd} mount "$BootPart" /tamnt/gentooget/boot + ${cmd} mount "$BootPart" /mnt/gentoo/boot fi for subvol in "${!SUBVOLS_DEFAULT[@]}" @@ -207,12 +207,26 @@ function stage_step() { local UUID PART_ENTRY_UUID local SwapUUID SwapOffset + show_options + + read -rsn1 -p"Stage-Install: To proceed, press enter to continue." proceed + echo + if [[ "$proceed" != "" ]]; then + echo "Aborting." + exit 1 + fi + if [[ "$DEBUG" ]]; then local cmd="echo" else local cmd="" fi + #FIXME check $INSTALL_STAGE for http or local file + # + + #FIXME post stage extraction: + if [[ "$DEBUG" ]]; then echo "genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab" else