Add scripts for installing surface packages

This commit is contained in:
Manuel Thalmann 2023-04-04 17:16:19 +02:00
parent 279366aece
commit aa14c68131
2 changed files with 43 additions and 0 deletions

View file

@ -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;

View file

@ -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;