mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 01:17:35 +02:00
Change: The systemd-boot installation issue (not creating efi entries when running in an 'arch-chroot') has been addressed
Change: A prompt has been edited
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Amelia installer for Archlinux
|
||||
# Version: 1.2.1
|
||||
# Version: 1.2.2
|
||||
# Source: https://gitlab.com/prism7/archery
|
||||
# Contact: leenooks7@gmail.com
|
||||
|
||||
@@ -6406,7 +6406,7 @@ ${magenta}###${nc}--------------------------${magenta}[ ${bwhite}Setting Up Wire
|
||||
"
|
||||
if sed -i "/^#WIRELESS_REGDOM=\"${REGDOM}\"/s/^#//" /mnt/etc/conf.d/wireless-regdom ; then
|
||||
ok
|
||||
line2
|
||||
echo
|
||||
else
|
||||
stage_fail
|
||||
fi
|
||||
@@ -6453,7 +6453,7 @@ btldrcfg() {
|
||||
if [[ "${bootloader}" == "1" ]]; then
|
||||
local stage_prompt="Systemd-boot Configuration"
|
||||
if [[ "${xbootloader}" == "no" ]]; then
|
||||
if arch-chroot /mnt <<-SDBOOT_INSTL > "${void}" 2>&1 2> "${log}" ; then
|
||||
if arch-chroot -S /mnt <<-SDBOOT_INSTL > "${void}" 2>&1 2> "${log}" ; then
|
||||
bootctl install || exit
|
||||
cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit
|
||||
timeout 3
|
||||
@@ -6467,7 +6467,7 @@ SDBOOT_INSTL
|
||||
stage_fail
|
||||
fi
|
||||
elif [[ "${xbootloader}" == "yes" ]]; then
|
||||
if arch-chroot /mnt <<-SDBOOT_XBOOTLDR_INSTL > "${void}" 2>&1 2> "${log}" ; then
|
||||
if arch-chroot -S /mnt <<-SDBOOT_XBOOTLDR_INSTL > "${void}" 2>&1 2> "${log}" ; then
|
||||
bootctl --esp-path=/efi --boot-path=/boot install || exit
|
||||
cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit
|
||||
default arch.conf
|
||||
|
||||
Reference in New Issue
Block a user