Fix typoneese hell on boot with encryption enabled
This commit is contained in:
parent
0d5153f1eb
commit
9833a7f61c
1 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue