From aa14c68131f17706a761b745ffce15c788a8ea3a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 4 Apr 2023 17:16:19 +0200 Subject: [PATCH] Add scripts for installing surface packages --- scripts/Arch/Devies/Surface/install.sh | 32 +++++++++++++++++++++ scripts/Arch/Devies/SurfaceBook2/install.sh | 11 +++++++ 2 files changed, 43 insertions(+) create mode 100755 scripts/Arch/Devies/Surface/install.sh create mode 100755 scripts/Arch/Devies/SurfaceBook2/install.sh diff --git a/scripts/Arch/Devies/Surface/install.sh b/scripts/Arch/Devies/Surface/install.sh new file mode 100755 index 00000000..4b132d27 --- /dev/null +++ b/scripts/Arch/Devies/Surface/install.sh @@ -0,0 +1,32 @@ +#!/bin/bash +pushd "${BASH_SOURCE%/*}" > /dev/null; + +. "../../Software/yay/install.sh"; + +curl -s https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc \ + | sudo pacman-key --add -; + +sudo pacman-key --finger 56C464BAAC421453; +sudo pacman-key --lsign-key 56C464BAAC421453; + +{ + echo ""; + echo "[linux-surface]"; + echo "Server = https://pkg.surfacelinux.com/arch/"; +} | sudo tee -a /etc/pacman.conf > /dev/null; + +sudo pacman -Syu; + +sudo pacman -Sy \ + intel-ucode \ + linux-surface \ + linux-surface-headers \ + iptsd \ + intel-ucode \ + linux-firmware-marvell; + +sudo systemctl enable bluetooth --now; +sudo grub-mkconfig -o /boot/grub/grub.cfg; +yay -Syu libwacom-surface; + +pushd > /dev/null; diff --git a/scripts/Arch/Devies/SurfaceBook2/install.sh b/scripts/Arch/Devies/SurfaceBook2/install.sh new file mode 100755 index 00000000..f3d32a7e --- /dev/null +++ b/scripts/Arch/Devies/SurfaceBook2/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash +pushd "${BASH_SOURCE%/*}" > /dev/null; + +. "../../Software/yay/install.sh"; +. "../Surface/install.sh"; + +yay --noconfirm -Syu \ + surface-dtx-daemon-bin \ + surface-control-bin; + +popd > /dev/null;