|
|
|
@ -70,8 +70,11 @@ pve_check() { |
|
|
|
|
arch_check() { |
|
|
|
|
if [ "$(dpkg --print-architecture)" != "amd64" ]; then |
|
|
|
|
echo -e "\n ${CROSS} Expiramental arm64 support enabled \n" |
|
|
|
|
msg_info "Experimental Arm64 Support Enabled" |
|
|
|
|
sleep 3 |
|
|
|
|
msg_ok "Experimental Arm64 Support Enabled" |
|
|
|
|
#echo -e "Exiting..." |
|
|
|
|
sleep 5 |
|
|
|
|
sleep 2 |
|
|
|
|
#exit |
|
|
|
|
arm64ct="yes" |
|
|
|
|
fi |
|
|
|
@ -533,6 +536,7 @@ lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create= |
|
|
|
|
EOF |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ "$(dpkg --print-architecture)" = "amd64" ]; then |
|
|
|
|
if [ "$CT_TYPE" == "0" ]; then |
|
|
|
|
if [[ "$APP" == "Emby" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" ]]; then |
|
|
|
|
cat <<EOF >>$LXC_CONFIG |
|
|
|
@ -546,6 +550,11 @@ lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,creat |
|
|
|
|
EOF |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
else |
|
|
|
|
msg_info "Skipping Arm64 Hardware Acceleration" |
|
|
|
|
sleep 3 |
|
|
|
|
msg_ok "Skipped Arm64 Hardware Acceleration" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# This starts the container and executes <app>-install.sh |
|
|
|
|
msg_info "Starting LXC Container" |
|
|
|
|