mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +03:00
Edit existing source file instead
This commit is contained in:
parent
393404b72d
commit
8608b0c99b
@ -58,11 +58,10 @@ fi
|
|||||||
# arch specific packages
|
# arch specific packages
|
||||||
if [[ "${TARGETARCH}" == "amd64" ]]; then
|
if [[ "${TARGETARCH}" == "amd64" ]]; then
|
||||||
# Install non-free version of i965 driver
|
# Install non-free version of i965 driver
|
||||||
CODENAME=$(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2) \
|
sed -i -E "s/^(deb http:\/\/deb\.debian\.org\/debian ${CODENAME} main)(.*)$/\1 contrib non-free non-free-firmware\2/" /etc/apt/sources.list \
|
||||||
&& echo "deb http://deb.debian.org/debian $CODENAME main contrib non-free non-free-firmware" > /etc/apt/sources.list.d/va-driver.list \
|
|
||||||
&& apt-get -qq update \
|
&& apt-get -qq update \
|
||||||
&& apt-get install -y i965-va-driver-shaders \
|
&& apt-get install --no-install-recommends --no-install-suggests -y i965-va-driver-shaders \
|
||||||
&& rm /etc/apt/sources.list.d/va-driver.list \
|
&& sed -i -E "s/(deb http:\/\/deb\.debian\.org\/debian ${CODENAME} main) contrib non-free non-free-firmware/\1/" /etc/apt/sources.list \
|
||||||
&& apt-get update
|
&& apt-get update
|
||||||
|
|
||||||
# install amd / intel-i965 driver packages
|
# install amd / intel-i965 driver packages
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user