Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for Raspberry Pi 5 #1868

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ fi
sudo ${SUDO_ARGS[@]} pip install cryptography==38.0.2
sudo ${SUDO_ARGS[@]} pip install "$ANSIBLE_VERSION"

# @TODO: Remove two lines below after testing.
export REPOSITORY='https://github.com/nicomiguelino/Anthias.git'
export BRANCH=${CUSTOM_BRANCH}

sudo -u ${USER} ${SUDO_ARGS[@]} ansible localhost \
-m git \
-a "repo=$REPOSITORY dest=/home/${USER}/screenly version=$BRANCH force=no"
Expand Down
2 changes: 2 additions & 0 deletions bin/upgrade_containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export VIEWER_MEMORY_LIMIT_KB=$(echo "$TOTAL_MEMORY_KB" \* 0.8 | bc)
export DOCKER_TAG="latest"

# Detect Raspberry Pi version
if grep -qF "Raspberry Pi 5" /proc/device-tree/model; then
export DEVICE_TYPE="pi4" # @TODO: Change this to "pi5" later.
if grep -qF "Raspberry Pi 4" /proc/device-tree/model; then
export DEVICE_TYPE="pi4"
elif grep -qF "Raspberry Pi 3" /proc/device-tree/model; then
Expand Down
Loading