File 004_kodi_move_userhome.patch of Package kodi
diff -uNr kodi-20.0~alpha2.20220817T075744~8a85a4c4d.orig/xbmc/filesystem/SpecialProtocol.cpp kodi-20.0~alpha2.20220817T075744~8a85a4c4d/xbmc/filesystem/SpecialProtocol.cpp
--- kodi-20.0~alpha2.20220817T075744~8a85a4c4d.orig/xbmc/filesystem/SpecialProtocol.cpp 2022-08-21 11:16:46.878745019 +0200
+++ kodi-20.0~alpha2.20220817T075744~8a85a4c4d/xbmc/filesystem/SpecialProtocol.cpp 2022-08-21 11:18:13.266647605 +0200
@@ -69,17 +69,17 @@
void CSpecialProtocol::SetHomePath(const std::string &dir)
{
- SetPath("home", dir);
+ SetPath("home", "/var/lib/kodi");
}
void CSpecialProtocol::SetUserHomePath(const std::string &dir)
{
- SetPath("userhome", dir);
+ SetPath("userhome", "/var/lib/kodi");
}
void CSpecialProtocol::SetEnvHomePath(const std::string &dir)
{
- SetPath("envhome", dir);
+ SetPath("envhome", "/var/lib/kodi");
}
void CSpecialProtocol::SetMasterProfilePath(const std::string &dir)