![]() |
Re: Full linux distros on Sailfish OS
Well, I have that as well. I see, i have to make further tries on that side.
|
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Thanx for clarification!
|
Re: Full linux distros on Sailfish OS
Quote:
1 - download source 2 - make change to daemon.py file 3 - add %setup line to spec Then just use rpmbuild to create rpm. Installs and runs normally ... |
Re: Full linux distros on Sailfish OS
We should raise a PR for that, but I have not found how to write it so that daemon.py would work with any user name, not just defaultuser. Maybe using `import os` and then `os.environ.get('USER')` would work?
Anyone willing to try with this commit/fork? I don't have a device ready to try and I'm not prepared to compromise my LXC install right now as I really depend on it, but if that works, I can submit the PR. I am sorry I didn't read TMO lately but I see this is being discussed since March, while others had found the same the same temporary workaround at some earlier point on either the Telegram or Discord groups. |
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Quote:
|
Re: Full linux distros on Sailfish OS
Thanks to both of you! I added `os.getuid()` too as you recommended txus. I'll try to get someone to test it on a device with no current installation of LXC and no existing container, in case that matters. I'll submit a PR if that works.
|
Re: Full linux distros on Sailfish OS
I have currently no running containers. So I can test for you. So what do I have to do?
At first uninstall LXC if I got you right... And then? What rpms should I install? |
Re: Full linux distros on Sailfish OS
You could install the rpm that is already compiled on the Github repository, which you may already have.
Then kill the daemon: run "ps aux | grep daemon.py", then "kill -9 <daemon.py PID>". And then replace your /usr/share/harbour-containers/service/daemon.py with the one in the fork above. Make sure you download the raw daemon.py and not the HTML view. And reboot. One thing to keep in mind is you may have leftover configs in /var/lib/lxc. So if that doesn't work, it might be worth checking those and/or creating a new container, to make sure the configs are not still trying to use nemo. |
All times are GMT. The time now is 01:18. |
vBulletin® Version 3.8.8