mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-02 00:07:11 +01:00
5475672a9d
The archive already has everything contained in a rootfs folder, extract
it as-is to the root folder. This also reverts changes from
33957e5360
which addressed the same issue
in a less optimal way.
20 lines
501 B
Bash
Executable File
20 lines
501 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
hailo_version="4.19.0"
|
|
|
|
if [[ "${TARGETARCH}" == "amd64" ]]; then
|
|
arch="x86_64"
|
|
elif [[ "${TARGETARCH}" == "arm64" ]]; then
|
|
arch="aarch64"
|
|
fi
|
|
|
|
wget -qO- "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${TARGETARCH}.tar.gz" |
|
|
tar -C / -xzf -
|
|
|
|
mkdir -p /hailo-wheels
|
|
|
|
wget -P /hailo-wheels/ "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${hailo_version}-cp39-cp39-linux_${arch}.whl"
|
|
|