File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ msg_ok "Set Up Hardware Acceleration"
4949
5050msg_info " Setup Frigate"
5151RELEASE=" 0.16.0 Beta 4"
52+ export DEBIAN_FRONTEND=noninteractive
5253mkdir -p /opt/frigate/models
5354curl -fsSL https://github.com/blakeblackshear/frigate/archive/refs/tags/v0.16.0-beta4.tar.gz -o frigate.tar.gz
5455tar -xzf frigate.tar.gz -C /opt/frigate --strip-components 1
@@ -112,6 +113,7 @@ if [[ "$semantic_choice" == "y" ]]; then
112113else
113114 msg_ok " Skipped Semantic Search Setup"
114115fi
116+
115117msg_info " Building and Installing libUSB without udev"
116118wget -qO /tmp/libusb.zip https://github.com/libusb/libusb/archive/v1.0.29.zip
117119unzip -q /tmp/libusb.zip -d /tmp/
@@ -164,6 +166,13 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
164166EOF
165167sed -i -e ' /^deb-src /d' -e ' s/^deb /#deb /' /etc/apt/sources.list
166168$STD apt-get update
169+ $STD apt-get -f install -y || true
170+ $STD dpkg --configure -a || true
171+
172+ for pkg in $( apt-mark showhold) ; do
173+ echo " Unholding $pkg "
174+ apt-mark unhold " $pkg "
175+ done
167176
168177$STD /opt/frigate/docker/main/build_nginx.sh
169178sed -e ' /s6-notifyoncheck/ s/^#*/#/' -i /opt/frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/nginx/run
You can’t perform that action at this time.
0 commit comments