summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-11-10 20:01:24 -0600
committerCraig Jennings <c@cjennings.net>2024-11-10 20:01:24 -0600
commit5129b86cd1cf4343ff569732eba9fe43cec064fa (patch)
tree9fde012a0518b2bd50a37feeb7923e76463f051a /archsetup
parentd5d726c06d98a9229d63dcee04dbaf0808e87041 (diff)
adding upower, removing xf86-video-intel, etc
- parallel downloads changed to 10 - also sync to latest package list before adding archlinux-keyring
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup9
1 files changed, 7 insertions, 2 deletions
diff --git a/archsetup b/archsetup
index 7131e6e..a85387a 100755
--- a/archsetup
+++ b/archsetup
@@ -175,6 +175,7 @@ prerequisites() {
display "subtitle" "Bootstrapping"
action="ensuring current Arch Linux keyring" && display "task" "$action"
+ (pacman -Syy) >> "$logfile" 2>&1 || error "crash" "$action" "$?"
(pacman -S --noconfirm archlinux-keyring) >> "$logfile" 2>&1 || \
error "crash" "$action" "$?"
@@ -204,7 +205,7 @@ prerequisites() {
# enable pacman concurrent downloads and color
action="enabling concurrent downloads" && display "task" "$action"
- sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 5/;s/^#Color$/Color/" /etc/pacman.conf
+ sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 10/;s/^#Color$/Color/" /etc/pacman.conf
action="Package Mirrors" && display "subtitle" "$action"
pacman_install reflector
@@ -348,6 +349,10 @@ essential_services() {
display "subtitle" "Networking"
pacman_install networkmanager
+ # Power
+ display "subtitle" "Power"
+ pacman_install upower
+ systemctl enable upower >> "$logfile" 2>&1 || error "error" "$action" "$?"
# Secure Shell
display "subtitle" "Secure Shell"
@@ -437,7 +442,7 @@ xorg() {
pacman_install libglvnd
action="Xorg Display Server" && display "subtitle" "$action"
- for software in xorg-server xorg-xinit xorg-xsetroot xf86-video-intel \
+ for software in xorg-server xorg-xinit xorg-xsetroot \
xsel xorg-xbacklight xf86-input-libinput \
xorg-xdpyinfo xorg-xprop xorg-xwininfo \
xorg-xinput xorg-xkill ; do