mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 17:37:36 +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
|
#!/bin/bash
|
||||||
|
|
||||||
# Amelia installer for Archlinux
|
# Amelia installer for Archlinux
|
||||||
# Version: 1.2.1
|
# Version: 1.2.2
|
||||||
# Source: https://gitlab.com/prism7/archery
|
# Source: https://gitlab.com/prism7/archery
|
||||||
# Contact: leenooks7@gmail.com
|
# 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
|
if sed -i "/^#WIRELESS_REGDOM=\"${REGDOM}\"/s/^#//" /mnt/etc/conf.d/wireless-regdom ; then
|
||||||
ok
|
ok
|
||||||
line2
|
echo
|
||||||
else
|
else
|
||||||
stage_fail
|
stage_fail
|
||||||
fi
|
fi
|
||||||
@@ -6453,7 +6453,7 @@ btldrcfg() {
|
|||||||
if [[ "${bootloader}" == "1" ]]; then
|
if [[ "${bootloader}" == "1" ]]; then
|
||||||
local stage_prompt="Systemd-boot Configuration"
|
local stage_prompt="Systemd-boot Configuration"
|
||||||
if [[ "${xbootloader}" == "no" ]]; then
|
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
|
bootctl install || exit
|
||||||
cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit
|
cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit
|
||||||
timeout 3
|
timeout 3
|
||||||
@@ -6467,7 +6467,7 @@ SDBOOT_INSTL
|
|||||||
stage_fail
|
stage_fail
|
||||||
fi
|
fi
|
||||||
elif [[ "${xbootloader}" == "yes" ]]; then
|
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
|
bootctl --esp-path=/efi --boot-path=/boot install || exit
|
||||||
cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit
|
cat <<-LOADER_CFG > ${btldr_esp_mount}/loader/loader.conf || exit
|
||||||
default arch.conf
|
default arch.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user