Fix typoneese hell on boot with encryption enabled

This commit is contained in:
Eric Renfro 2024-08-02 15:36:07 -04:00
parent 0d5153f1eb
commit 9833a7f61c
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -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