mirror of
https://github.com/YunoHost-Apps/kodi_ynh.git
synced 2024-09-03 19:26:34 +02:00
zgrmbl
This commit is contained in:
parent
ccb40475e2
commit
c951bd5bcf
1 changed files with 8 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue