Skip to content

Commit

Permalink
Create orange pi script
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Dec 23, 2023
1 parent 3e779cc commit e88ff4b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: raspi
script: ./install_pi.sh
base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-12-11/2023-12-11-raspios-bookworm-arm64-lite.img.xz
- name: opi5
script: ./install_opi5
base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v1.30/ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5.img.xz

name: "Build for ${{ matrix.name }}"

Expand Down
18 changes: 18 additions & 0 deletions install_opi5.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
cd /tmp
wget https://git.io/JJrEP -O install.sh
chmod +x install.sh

sed -i 's/# AllowCPUs=4-7/AllowCPUs=4-7/g' install.sh

./install.sh

# Remove extra packages too

apt-get purge -y python3 gdb gcc g++ linux-headers* libgcc*-dev *qt*
apt-get autoremove -y

rm -rf /var/lib/apt/lists/*
apt-get clean

rm -rf /usr/share/doc
rm -rf /usr/share/locale/

0 comments on commit e88ff4b

Please sign in to comment.