Skip to content

Commit c01c88b

Browse files
committed
hopefully fix
1 parent fd51ccf commit c01c88b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build_image.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,15 @@ jobs:
1919
- uses: pguyot/arm-runner-action@HEAD
2020
id: install_deps
2121
with:
22-
image_additional_mb: 1500
22+
image_additional_mb: 3000
2323
bind_mount_repository: true
2424
base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v1.30/ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5.img.xz
2525
commands: |
26+
useradd polaris -b /home
27+
usermod -a -G sudo polaris
28+
mkdir /home/polaris
29+
chown -R polaris /home/polaris
30+
echo "polaris:polaris" | chpasswd
2631
git clone https://github.com/3015RangerRobotics/polaris.git /opt/polaris
2732
cd /opt/polaris
2833
chmod +x setup.sh

setup.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Install pre-reqs
22
sudo apt update
33
sudo apt install -y python3-pip
4-
sudo apt install -y --no-install-recommends gstreamer1.0-gl gstreamer1.0-opencv gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer-plugins-base1.0-dev libgstreamer1.0-0 libgstreamer1.0-dev
4+
sudo apt install -y --no-install-recommends python3-pil gstreamer1.0-gl gstreamer1.0-opencv gstreamer1.0-plugins-bad gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-tools libgstreamer-plugins-base1.0-dev libgstreamer1.0-0 libgstreamer1.0-dev
55

66
# Build OpenCV w/ gstreamer
77
git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/opencv/opencv-python.git
@@ -15,7 +15,6 @@ pip wheel . --verbose
1515
sudo pip install opencv_python*.whl
1616

1717
# Install other python deps
18-
sudo apt install -y python3-pil
1918
sudo pip install --extra-index-url https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2024/simple/ robotpy
2019

2120
# Cleanup

0 commit comments

Comments
 (0)