Wednesday, 2024-03-06

T42_<rikolv> mal: but how? sdk-* commands do not work04:50
T42_<rikolv> @elros34 I've tried and get this error again: custom shell scripts are not working (I've created simple bash script:05:07
T42_<rikolv> ```05:07
T42_<rikolv> #!/usr/bin/env bash05:07
T42_<rikolv> ls -la05:07
T42_<rikolv> echo "123"```05:07
T42_<rikolv> 05:07
T42_<rikolv> )05:07
T42_<rikolv> Strace said "Inappropriate ioctl for device", and in top there are a lot of process like: /bin/bash /usr/bin/sdk-motd (with arguments), and these process creating and creating (logged in into tty2 as root)05:20
T42_<rikolv> Maybe it is because "Inappropriate ioctl for device"? How I can fix this?05:20
T42_<elros34> This is some distro specific bug. Did you restart the machine? Try commenting out last 7 lines in etc/profile.d/sailfish-sdk-profile.sh10:35
T42_<rikolv> @elros34 Restars did not help, when I will at home I will try this.10:51
T42_<rikolv> @elros34 Thank you very much, it was helped!13:40
T42_<rikolv> @elros34 Thank you very much, it was helped (commenting lines)! (edited)13:40
T42_<elros34> try to run command manually to see what is going on, this issue may bite you later in some other scripts13:49
T42_<rikolv> sdk-* works now, and there no errors (in strace dump too)13:54
T42_<rikolv> `* enabling debugging in libhybris...17:30
T42_<rikolv> sed: can't read rpm/libhybris.spec: No such file or directory17:30
T42_<rikolv> sed: can't read rpm/libhybris.spec: No such file or directory17:30
T42_<rikolv> sed: can't read rpm/libhybris.spec: No such file or directory17:30
T42_<rikolv> * No spec file for package building specified, building all I can find.17:30
T42_<rikolv> * Building rpm/*.spec17:30
T42_<rikolv> Fatal: 'rpm/*.spec' does not exist (and could not be made from a .yaml)17:30
T42_<rikolv> * Check /home/gokkitoma/hadk/external/libhybris.log for full log.17:30
T42_<rikolv> !! building of package failed`17:30
T42_<rikolv> Strange error, who knows how to fix this?17:30
T42_<b100dian> You need to cehckout libhybris in external/17:36
T42_<rikolv> Your branch is up to date with 'origin/master'.18:12
T42_<Pachof> How do I update a Sailfish OS port with Android 9 to Android 10 and 11?18:14
T42_<elros34> follow hadk docs to make new port and use older base as a reference, most things will be similar. Some plugins/configs may change but you will figure out it one by one18:15
T42_<elros34> any particular reason you want to do this?18:16
T42_<edp_17> I already have done this on a few of my ports (S2 - los12.1 & 14.1. Hammerhead - cm12.1, los14.1, 15.1 & 17.1. Note4 - los14.1 & 17.1), but din't see any differece in sfos or any functionalities under the hood. So, really no point doing it.18:22
T42_<b100dian> Well at least rinigus did it and it fixed some android base issues, so there is merit in that. Don't know about this case18:26
T42_<rikolv> Just recloned repository with submodules18:28
T42_<Pachof> The reason is that I am looking to fix a bug with waydroid and I think that updating the base to one with android 11 There is a greater chance of it being corrected. (re @elros34: any particular reaso...)22:11
T42_<edp_17> If that bug is kernel related and the newer android's kernel has that fix, then it worth trying. Otherwise, I don't think newer android base will make any difference. (I've got similar case with my Note4 port where using los17.1 didn't help with waydroid.)22:44
T42_<edp_17> However, if you have time, you can try. :)22:44
T42_<b100dian> depends, what Waydroid bug?22:50

Generated by 2.17.1 by Marius Gedminas - find it at!