Add scripts for installing surface packages
This commit is contained in:
parent
75be220aea
commit
dc993542e7
2 changed files with 43 additions and 0 deletions
32
scripts/Arch/Devies/Surface/install.sh
Executable file
32
scripts/Arch/Devies/Surface/install.sh
Executable 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;
|
11
scripts/Arch/Devies/SurfaceBook2/install.sh
Executable file
11
scripts/Arch/Devies/SurfaceBook2/install.sh
Executable 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;
|
Loading…
Reference in a new issue