I have setup Ubuntu 20.04.6 on my laptop (WSL) and have cloned the CoreELEC git source code to the laptop. I am compiling the old 20.5-Nexus release for -ng.
The reason is that I want to replace one of the “kodi” files (FileItem.cpp) in the “kodi/xbmc/” local source folder and then re-compile without having that file overwritten.
Is there an easy way to do this so that the re-compile does not download and overwrite my change? I hope I have explained this clearly.
Thanks so much for geting back. Because it was only one change, I didn’t want to go thru creating a fork and using git etc. However, I might do the patch method as it is correct as you say. I’ll probably fork CoreELEC to my repo and do it that way. Then it is repeatable without worrying about replacing source files and/or if I need to make further changes. I did not realise there was a patches folder for kodi/xbmc changes.