Skip to content

Commit 0f31c16

Browse files
committed
shuffle around ppa and update order
1 parent 8d72dfd commit 0f31c16

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

install_rubikpi3.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@ echo '=== Current directory: \$(pwd) ==='
77
echo '=== Files in current directory: ==='
88
ls -la
99

10+
ln -sf libOpenCL.so.1 /usr/lib/aarch64-linux-gnu/libOpenCL.so # Fix for snpe-tools
11+
1012
# Add the GPG key for the RUBIK Pi PPA
1113
wget -qO - https://thundercomm.s3.dualstack.ap-northeast-1.amazonaws.com/uploads/web/rubik-pi-3/tools/key.asc | tee /etc/apt/trusted.gpg.d/rubikpi3.asc
1214

13-
apt update -y
14-
15-
apt-get -y --allow-downgrades install libsqlite3-0=3.45.1-1ubuntu2 libqnn1 libsnpe1 qcom-adreno1 device-tree-compiler
16-
17-
ln -sf libOpenCL.so.1 /usr/lib/aarch64-linux-gnu/libOpenCL.so # Fix for snpe-tools
18-
1915
# Run normal photon installer
2016
chmod +x ./install.sh
2117
./install.sh --install-nm=yes --arch=aarch64
2218

19+
# Install packages from the RUBIK Pi PPA, we skip calling apt-get update here because install.sh already does that
20+
apt-get -y --allow-downgrades install libsqlite3-0=3.45.1-1ubuntu2 libqnn1 libsnpe1 qcom-adreno1 device-tree-compiler
21+
2322
# Enable ssh
2423
systemctl enable ssh
2524

0 commit comments

Comments
 (0)