mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Install using re-usable script
This commit is contained in:
parent
7f015e93ce
commit
9a92e37a48
@ -57,9 +57,13 @@ fi
|
|||||||
|
|
||||||
# arch specific packages
|
# arch specific packages
|
||||||
if [[ "${TARGETARCH}" == "amd64" ]]; then
|
if [[ "${TARGETARCH}" == "amd64" ]]; then
|
||||||
# use debian bookworm for amd / intel-i965 driver packages, non-free required for video encoding using i965 driver
|
# Install non-free version of i965 driver
|
||||||
echo 'deb https://deb.debian.org/debian bookworm main contrib non-free' >/etc/apt/sources.list.d/debian-bookworm.list
|
CODENAME=$(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2) \
|
||||||
apt-get -qq update
|
&& echo "deb http://deb.debian.org/debian $CODENAME main contrib non-free" > /etc/apt/sources.list.d/va-driver.list \
|
||||||
|
&& apt update \
|
||||||
|
&& apt install -y i965-va-driver-shaders \
|
||||||
|
&& rm /etc/apt/sources.list.d/va-driver.list \
|
||||||
|
&& apt update
|
||||||
# install amd / intel-i965 driver packages
|
# install amd / intel-i965 driver packages
|
||||||
apt-get -qq install --no-install-recommends --no-install-suggests -y \
|
apt-get -qq install --no-install-recommends --no-install-suggests -y \
|
||||||
i965-va-driver-shaders intel-gpu-tools onevpl-tools \
|
i965-va-driver-shaders intel-gpu-tools onevpl-tools \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user