From c951bd5bcfa988c366dd1e2f1532841fa86dc95a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 1 Sep 2023 03:52:22 +0200 Subject: [PATCH] zgrmbl --- scripts/install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index fccdba2..e74101c 100644 --- a/scripts/install +++ b/scripts/install @@ -99,14 +99,6 @@ if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then cp ../conf/xorg.conf /etc/X11/xorg.conf fi -#FIXME : this is only for debugging on the CI ... -LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2 -echo "===========" >&2 -LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr --output default --gamma 0:0:0 --mode 1024x768 --crtc 0 -echo "===========" >&2 -LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2 -exit 1 - #================================================= # CREATE DEDICATED USER #================================================= @@ -140,6 +132,14 @@ ynh_script_progression --message="Configuring Kodi..." mkdir -p "$final_path/.kodi/userdata/" ynh_add_config --template="../conf/advancedsettings.xml" --destination="$final_path/.kodi/userdata/advancedsettings.xml" +#FIXME : this is only for debugging on the CI ... +LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2 +echo "===========" >&2 +LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr --output DUMMY0 --gamma 0:0:0 --mode 1024x768 --crtc 0 >&2 +echo "===========" >&2 +LIBVA_DRIVER_NAME=nvidia /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/lib/x86_64-linux-gnu/kodi/kodi-xrandr >&2 +exit 1 + mkdir -p "$final_path/.kodi/addons/" if [[ $YNH_ARCH != arm* ]]; then ynh_setup_source --dest_dir="$final_path/.kodi/addons/" --source_id="arm-chorus2"