Apologies if this is kinda hectic, but I’ve been at this for a couple hours now.
I’m trying to make a ghidra-server package/module, and I got the build (download) process working, but ghidra stores it’s logs/config in the installation folder which it can’t do for logs it’s in the nix store.
And for the config files it would make editing the config via a module (ie programs/service.ghidra-server._) impossible.
To change the log location I’d need to change the config file, and to change the config file location I’d need to change the script that starts the server.
So I have a couple questions:
- Is it good practice to patch decently big chunks of files or is it better to just download the modified script from somewhere (ie gist)?
- Where do I even put them in the end, I could make a folder in something like /var/ghidra, or is it better to point it to the home directory of the currently running user?