By the way, I succeeded building Whonix early Whonix 9 gateway with split packages.
Noticed, there is a small problem with gateway first run notice (https://github.com/Whonix/anon-gw-first-run-notice).
How to reproduce: Can you install the package on your local system please? Either by building the package, or a simple “sudo make install” should do as well. Then reboot. You’ll see the notice works, but it also opens an ugly console window, where it runs “ls ~/.gateway”.
I guess the issue is here somewhere.
folder_return_code = call("ls ~/.gateway", shell=True)
if folder_return_code == 0:
file_return_code = call("cat ~/.gateway/first_use_check.done", shell=True)
if file_return_code == 0:
sys.exit()
else:
call("mkdir ~/.gateway", shell=True)
Could you pythonify [using real python commands instead of shell?] / prettify the code a bit please? Keep your time will be a while until I fixed the remaining bugs (mostly wrong paths) and testing in Whonix 9.