mirror of https://github.com/tteck/Proxmox.git
Update jellyfin-install.sh
hardware acceleration - check for privileged/unprivilegedpull/662/head
parent
6d0ba55c83
commit
28ac44926c
|
@ -75,6 +75,7 @@ apt-get install -y apt-transport-https &>/dev/null
|
||||||
apt-get install -y software-properties-common &>/dev/null
|
apt-get install -y software-properties-common &>/dev/null
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then
|
||||||
msg_info "Setting Up Hardware Acceleration"
|
msg_info "Setting Up Hardware Acceleration"
|
||||||
apt-get -y install \
|
apt-get -y install \
|
||||||
va-driver-all \
|
va-driver-all \
|
||||||
|
@ -85,6 +86,7 @@ apt-get -y install \
|
||||||
/bin/chmod 755 /dev/dri
|
/bin/chmod 755 /dev/dri
|
||||||
/bin/chmod 660 /dev/dri/*
|
/bin/chmod 660 /dev/dri/*
|
||||||
msg_ok "Set Up Hardware Acceleration"
|
msg_ok "Set Up Hardware Acceleration"
|
||||||
|
fi
|
||||||
|
|
||||||
msg_info "Setting Up Jellyfin Repository"
|
msg_info "Setting Up Jellyfin Repository"
|
||||||
sudo add-apt-repository universe -y &>/dev/null
|
sudo add-apt-repository universe -y &>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue