Fix: Fixed an issue where the installer tries to enable a no-longer-existing service when Microsoft's 'Hyper-V' is detected.

Fix: 'Minimal Plasma / Minimal Gnome' setups: > Fixed an issue where the installer tries to set 'Performance' mode during installation,
on an unsupported Intel cpu, using the 'x86_energy_perf_policy' package.
This commit is contained in:
Jane Doe 2025-01-02 14:40:01 +00:00
parent 75d2c9e6c9
commit 0679958b17

View file

@ -2,7 +2,7 @@
# Amelia Installer
# https://gitlab.com/prism7/archery
# Version: 8.3.0
# Version: 8.3.1
set -euo pipefail
###################################################################################################
@ -476,7 +476,7 @@ dtct_hyper() {
vm_services="" ;;
microsoft)
vmpkgs="hyperv"
vm_services="hv_fcopy_daemon hv_kvp_daemon hv_vss_daemon" ;;
vm_services="hv_kvp_daemon hv_vss_daemon" ;;
esac
}
###################################################################################################
@ -6095,12 +6095,6 @@ CUSTOMSERV
displaymanager="gdm"
fi
if [[ -n "${nrg_plc}" ]]; then
arch-chroot /mnt <<-NRG > /dev/null 2>&1 2> amelia_log.txt
${nrg_plc} performance
NRG
fi
if arch-chroot /mnt <<-OPTIMIZED > /dev/null 2>&1 2> amelia_log.txt ; then
sed -i "/^#${SETLOCALE}/s/^#//" /etc/locale.gen || exit
locale-gen || exit