17 lines
663 B
Bash
17 lines
663 B
Bash
#!/bin/bash
|
|
|
|
curl -s https://raw.githubusercontent.com/linux-surface/linux-surface/master/pkg/keys/surface.asc | sudo pacman-key --add -
|
|
|
|
sudo bash -c 'echo "[linux-surface]" >> /etc/pacman.conf && echo "Server = https://pkg.surfacelinux.com/arch/" >> /etc/pacman.conf'
|
|
sudo pacman-key --lsign-key 56C464BAAC421453
|
|
|
|
sudo pacman -Syu
|
|
sudo pacman -S linux-surface linux-surface-headers iptsd
|
|
|
|
sudo cp data/surface/sleep.sh /usr/lib/systemd/system-sleep/surface_sleep.sh
|
|
|
|
sudo mkinitcpio -P
|
|
|
|
sudo cp data/surface/arch_surface.conf /boot/loader/entries/arch_surface.conf
|
|
sudo cp data/surface/arch_surface_fallback.conf /boot/loader/entries/arch_surface_fallback.conf
|