Linux Development with several Kodi versions and userdata directories
#3
(2020-07-31, 07:59)Wintermute0110 Wrote: however this feature is not available on Linux.

Yes, it is.  When you have built Kodi, simply run it from the build directory with ./kodi-x11 -p (assuming the X11 version) and it will create a portable_data directory in your CWD with all the necessary stuff inside it.

/kodi-19/kodi-build$ ls
addons                      CMakeFiles             kodi-x11     media
advancedsettings.xml.old    cmake_install.cmake    kodi-xrandr  portable_data
build                       compile_commands.json  launch-c     system
CMakeCache.txt              core                   launch-cxx   Testing
CMakeDoxyfile.in            CTestTestfile.cmake    libkodi.a    userdata
CMakeDoxygenDefaults.cmake  kodi-test              Makefile     xbmc


I do this all the time, plus it's trivial to switch to a new out-of-tree build directory and build and run another instance in that, again in portable mode.

~~~EDIT~~~

NOTE:  DO NOT install Kodi anywhere, just run it in the build directory with the -p parameter.
Learning Linux the hard way !!
Reply


Messages In This Thread
RE: Development with several Kodi versions and userdata directories - by black_eagle - 2020-07-31, 09:15


Logout Mark Read Team Forum Stats Members Help
Development with several Kodi versions and userdata directories0
This forum uses Lukasz Tkacz MyBB addons.