Change: If pacstrapping fails, cause of failure will be reported to the log

This commit is contained in:
Jane Doe
2025-08-20 14:06:58 +03:00
parent 85e842a95f
commit 6596790903
+3 -3
View File
@@ -2,7 +2,7 @@
# Amelia Installer # Amelia Installer
# Source: https://gitlab.com/prism7/archery # Source: https://gitlab.com/prism7/archery
# Version: 9.3.1 # Version: 9.3.2
set -euo pipefail set -euo pipefail
################################################################################################### ###################################################################################################
@@ -4552,7 +4552,7 @@ ${magenta}###${nc}------------------------------------${magenta}[ ${bwhite}Encry
-----------------------------------------" -----------------------------------------"
YELLOW " YELLOW "
### ESP cannot be mounted at ${nc}'/efi' ${yellow}when using Grub on a LUKS encrypted Root partition ### ESP cannot be mounted on ${nc}'/efi' ${yellow}when using Grub on a LUKS encrypted Root partition
> Change ESP mountpoint to ${nc}'/boot' ${yellow}instead ? [Y/n] " > Change ESP mountpoint to ${nc}'/boot' ${yellow}instead ? [Y/n] "
@@ -6292,7 +6292,7 @@ ${magenta}###${nc}-------------------------------------${magenta}[ ${bwhite}Pacs
" "
read -r -s -n 1 read -r -s -n 1
if pacstrap -K /mnt ${deskpkgs} ; then if pacstrap -K /mnt ${deskpkgs} 2> ${log} ; then
if [[ "${fs}" == "2" ]]; then if [[ "${fs}" == "2" ]]; then
genfstab -t PARTUUID /mnt >> /mnt/etc/fstab || err_abort genfstab -t PARTUUID /mnt >> /mnt/etc/fstab || err_abort
sleep 0.2 sleep 0.2