Ported Frigate & Go2RTC to ARM64

This commit is contained in:
Sam Heinz
2024-04-08 19:29:14 +10:00
parent 5f3eae2a7a
commit 9c0174ec33
5 changed files with 12 additions and 9 deletions
+2
View File
@@ -54,6 +54,8 @@ Any applications not in ported or unsupported need to be tested for whether they
<li>ESPHome</li> <li>ESPHome</li>
<li>Fhem</li> <li>Fhem</li>
<li>FlowiseAI</li> <li>FlowiseAI</li>
<li>Frigate</li>
<li>Go2RTC</li>
<li>Jellyseerr</li> <li>Jellyseerr</li>
<li>Mafl</li> <li>Mafl</li>
<li>Nginx Proxy Manager</li> <li>Nginx Proxy Manager</li>
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Authors: tteck (tteckster) # Authors: tteck (tteckster)
# License: MIT # License: MIT
+3 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func)
# Copyright (c) 2021-2024 tteck # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
@@ -60,8 +60,8 @@ msg_info "Updating $APP"
systemctl stop go2rtc systemctl stop go2rtc
cd /opt/go2rtc cd /opt/go2rtc
rm go2rtc_linux_amd64 rm go2rtc_linux_amd64
wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64 wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_arm64
chmod +x go2rtc_linux_amd64 chmod +x go2rtc_linux_arm64
systemctl start go2rtc systemctl start go2rtc
msg_ok "Updated $APP" msg_ok "Updated $APP"
exit exit
+2 -2
View File
@@ -14,7 +14,7 @@ network_check
update_os update_os
msg_info "Installing Dependencies (Patience)" msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y {curl,sudo,mc,git,gpg,automake,build-essential,xz-utils,libtool,ccache,pkg-config,libgtk-3-dev,libavcodec-dev,libavformat-dev,libswscale-dev,libv4l-dev,libxvidcore-dev,libx264-dev,libjpeg-dev,libpng-dev,libtiff-dev,gfortran,openexr,libatlas-base-dev,libssl-dev,libtbb2,libtbb-dev,libdc1394-22-dev,libopenexr-dev,libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev,gcc,gfortran,libopenblas-dev,liblapack-dev,libusb-1.0-0-dev} $STD apt-get install -y {curl,sudo,mc,git,gpg,automake,build-essential,xz-utils,libtool,ccache,pkg-config,libgtk-3-dev,libavcodec-dev,libavformat-dev,libswscale-dev,libv4l-dev,libxvidcore-dev,libx264-dev,libjpeg-dev,libpng-dev,libtiff-dev,gfortran,openexr,libatlas-base-dev,libssl-dev,libtbb2,libtbb-dev,libdc1394-22-dev,libopenexr-dev,libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev,gcc,gfortran,libopenblas-dev,liblapack-dev,libusb-1.0-0-dev,wget}
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Python3 Dependencies" msg_info "Installing Python3 Dependencies"
@@ -34,7 +34,7 @@ msg_ok "Installed Node.js"
msg_info "Installing go2rtc" msg_info "Installing go2rtc"
mkdir -p /usr/local/go2rtc/bin mkdir -p /usr/local/go2rtc/bin
cd /usr/local/go2rtc/bin cd /usr/local/go2rtc/bin
wget -qO go2rtc "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64" wget -qO go2rtc "https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_arm64"
chmod +x go2rtc chmod +x go2rtc
$STD ln -svf /usr/local/go2rtc/bin/go2rtc /usr/local/bin/go2rtc $STD ln -svf /usr/local/go2rtc/bin/go2rtc /usr/local/bin/go2rtc
msg_ok "Installed go2rtc" msg_ok "Installed go2rtc"
+4 -3
View File
@@ -17,13 +17,14 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl $STD apt-get install -y curl
$STD apt-get install -y sudo $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y wget
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing go2rtc" msg_info "Installing go2rtc"
mkdir -p /opt/go2rtc mkdir -p /opt/go2rtc
cd /opt/go2rtc cd /opt/go2rtc
wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_amd64 wget -q https://github.com/AlexxIT/go2rtc/releases/latest/download/go2rtc_linux_arm64
chmod +x go2rtc_linux_amd64 chmod +x go2rtc_linux_arm64
msg_ok "Installed go2rtc" msg_ok "Installed go2rtc"
msg_info "Creating Service" msg_info "Creating Service"
@@ -35,7 +36,7 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
User=root User=root
ExecStart=/opt/go2rtc/go2rtc_linux_amd64 ExecStart=/opt/go2rtc/go2rtc_linux_arm64
[Install] [Install]
WantedBy=multi-user.target" >$service_path WantedBy=multi-user.target" >$service_path