Move VAAPI and NVIDIA setup to debian-install.sh
Some checks failed
Bump build.func Revision / bump-revision (push) Has been cancelled

The VAAPI and NVIDIA setup functions are now called directly in debian-install.sh instead of within the LXC container customization block in build.func. The related code in build.func has been commented out to avoid duplicate execution.
This commit is contained in:
CanbiZ 2025-09-22 14:14:35 +02:00
parent ddf5781e55
commit 7dd84a1c99
2 changed files with 7 additions and 4 deletions

View File

@ -17,6 +17,9 @@ msg_info "Installing Dependencies"
$STD apt-get install -y gpg $STD apt-get install -y gpg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
vaapi_inside_setup "$CTID" "$CT_TYPE" "$APP"
nvidia_inside_setup "$CTID" "$CT_TYPE" "$APP"
#setup_mariadb #setup_mariadb
#FFMPEG_VERSION="n7.1.1" FFMPEG_TYPE="full" setup_ffmpeg #FFMPEG_VERSION="n7.1.1" FFMPEG_TYPE="full" setup_ffmpeg

View File

@ -2276,10 +2276,10 @@ EOF
fi fi
msg_info "Customizing LXC Container" msg_info "Customizing LXC Container"
if [ "$var_os" != "alpine" ]; then #if [ "$var_os" != "alpine" ]; then
vaapi_inside_setup "$CTID" "$CT_TYPE" "$APP" # vaapi_inside_setup "$CTID" "$CT_TYPE" "$APP"
nvidia_inside_setup "$CTID" "$CT_TYPE" "$APP" # nvidia_inside_setup "$CTID" "$CT_TYPE" "$APP"
fi #fi
if [ "$var_os" == "alpine" ]; then if [ "$var_os" == "alpine" ]; then
sleep 3 sleep 3
pct exec "$CTID" -- /bin/sh -c 'cat <<EOF >/etc/apk/repositories pct exec "$CTID" -- /bin/sh -c 'cat <<EOF >/etc/apk/repositories