-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a fresh take at cog installation on Pi
- Loading branch information
1 parent
48b0a7b
commit 6b73138
Showing
2 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/env sh | ||
|
||
# RPi3 - RPi4 => boot 512M | ||
# root: init | ||
if [ "$USER" = "root" ] || [ "$(whoami)" = "root" ]; then | ||
pacman-key --init | ||
pacman-key --populate archlinuxarm | ||
pacman -Syyu --noconfirm | ||
|
||
# optional RPi arm64 - Enables RPi5 too | ||
yes y | pacman -S --needed linux-rpi | ||
else | ||
# alarm | ||
if [ "$(which sudo 2> /dev/null)" = "" ]; then | ||
bash <(curl -s https://archibold.io/install/sudo) | ||
else | ||
sudo pacman -Syyu --noconfirm | ||
fi | ||
|
||
# weston | ||
sudo pacman -S --needed --noconfirm libdisplay-info | ||
bash <(curl -s https://archibold.io/install/weston) | ||
bash <(curl -s https://archibold.io/install/weston-launch) | ||
|
||
# optional for webkitgtk | ||
# sudo pacman -S --needed --noconfirm \ | ||
# gtk4 webkitgtk-6.0 \ | ||
# gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad \ | ||
# gstreamer-vaapi gst-libav \ | ||
# geoip geoclue | ||
|
||
# optional cog dependencies | ||
sudo pacman -S --needed --noconfirm wpewebkit wpebackend-fdo meson wayland-protocols | ||
|
||
if [ "$(which sudo 2> /dev/null)" = "" ]; then | ||
bash <(curl -s https://archibold.io/install/aur) | ||
fi | ||
aur --no-pgp cog | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters