mirror of
https://gitlab.com/prism7/archery.git
synced 2025-02-15 08:29:17 +01:00
Change: Plasma/Gnome Optimized System Setups: Silence unnecessary verbosity when activating 'x86_energy_perf_policy' package during installation, where applicable.
Change: Remove unnecessary '--ultra -20' flag from the zstd compression option at '/etc/makepkg.conf.d/makepkgd.conf' custom drop-in file.
This commit is contained in:
parent
4f7624e157
commit
19f086195a
1 changed files with 4 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Amelia Installer
|
||||
# Version: 5.6
|
||||
# Version: 5.7
|
||||
|
||||
set -euo pipefail
|
||||
trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR
|
||||
|
@ -696,14 +696,13 @@ Enter a password for the${nc}${cyan} Root ${blue}user: "
|
|||
reload
|
||||
return 1
|
||||
fi
|
||||
|
||||
BLUE "
|
||||
|
||||
Re-enter${nc} ${cyan}Root ${blue}user's password: "
|
||||
read -r -p "
|
||||
==> " ROOTPASSWD2
|
||||
echo
|
||||
|
||||
|
||||
if [[ "${ROOTPASSWD}" != "${ROOTPASSWD2}" ]]; then
|
||||
sleep 0.3
|
||||
RED "
|
||||
|
@ -4932,7 +4931,7 @@ NVIDIA_HOOK
|
|||
fi
|
||||
|
||||
if [[ -n "${nrg_plc}" ]]; then
|
||||
arch-chroot /mnt <<-NRG
|
||||
arch-chroot /mnt <<-NRG > /dev/null 2>&1
|
||||
${nrg_plc} performance
|
||||
NRG
|
||||
fi
|
||||
|
@ -4965,7 +4964,7 @@ NRG
|
|||
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
|
||||
COMPRESSGZ=(pigz -c -f -n)
|
||||
COMPRESSBZ2=(pbzip2 -c -f)
|
||||
COMPRESSZST=(zstd -c -T0 --ultra -20 --auto-threads=logical -)' | tee /etc/makepkg.conf.d/makepkgd.conf || exit
|
||||
COMPRESSZST=(zstd -c -T0 --auto-threads=logical -)' | tee /etc/makepkg.conf.d/makepkgd.conf || exit
|
||||
ln -sf /usr/share/zoneinfo/$(curl -s http://ip-api.com/line?fields=timezone) /etc/localtime || exit
|
||||
hwclock --systohc || exit
|
||||
echo ${HOSTNAME} > /etc/hostname || exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue