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
|
if [[ "$BootPart" == "@boot" ]]; then
|
||||||
${cmd} mount -o noatime,space_cache=v2,ssd,subvol=@boot "$rootmount" /mnt/gentoo/boot
|
${cmd} mount -o noatime,space_cache=v2,ssd,subvol=@boot "$rootmount" /mnt/gentoo/boot
|
||||||
else
|
else
|
||||||
${cmd} mount "$BootPart" /tamnt/gentooget/boot
|
${cmd} mount "$BootPart" /mnt/gentoo/boot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for subvol in "${!SUBVOLS_DEFAULT[@]}"
|
for subvol in "${!SUBVOLS_DEFAULT[@]}"
|
||||||
|
@ -207,12 +207,26 @@ function stage_step() {
|
||||||
local UUID PART_ENTRY_UUID
|
local UUID PART_ENTRY_UUID
|
||||||
local SwapUUID SwapOffset
|
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
|
if [[ "$DEBUG" ]]; then
|
||||||
local cmd="echo"
|
local cmd="echo"
|
||||||
else
|
else
|
||||||
local cmd=""
|
local cmd=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#FIXME check $INSTALL_STAGE for http or local file
|
||||||
|
#
|
||||||
|
|
||||||
|
#FIXME post stage extraction:
|
||||||
|
|
||||||
if [[ "$DEBUG" ]]; then
|
if [[ "$DEBUG" ]]; then
|
||||||
echo "genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab"
|
echo "genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue