Skip to content

NVR with realtime local object detection for IP cameras

Fix extraction of Hailo userspace libs (#15187)

Jan Čermák5475672a9def
diff --git a/docker/hailo8l/Dockerfile b/docker/hailo8l/Dockerfile
index 68ab090011..959e7692ed 100644
--- a/docker/hailo8l/Dockerfile
+++ b/docker/hailo8l/Dockerfile
@@ -36,8 +36,5 @@ RUN pip3 install -U /deps/hailo-wheels/*.whl
# Copy base files from the rootfs stage
COPY --from=rootfs / /
-# Set Library path for hailo driver
-ENV LD_LIBRARY_PATH=/rootfs/usr/local/lib/
-
# Set workdir
WORKDIR /opt/frigate/
diff --git a/docker/hailo8l/install_hailort.sh b/docker/hailo8l/install_hailort.sh
index 004db86c93..62eba96115 100755
--- a/docker/hailo8l/install_hailort.sh
+++ b/docker/hailo8l/install_hailort.sh
@@ -10,10 +10,8 @@ elif [[ "${TARGETARCH}" == "arm64" ]]; then
arch="aarch64"
fi
-mkdir -p /rootfs
-
wget -qO- "https://github.com/frigate-nvr/hailort/releases/download/v${hailo_version}/hailort-${TARGETARCH}.tar.gz" |
- tar -C /rootfs/ -xzf -
+ tar -C / -xzf -
mkdir -p /hailo-wheels