Wednesday, 2022-12-07

T42<elros34> so basically 2 lines [Service] and PrivateNetwork=no then systemctl <service name> | grep Private to confirm whether it works00:00
T42<edp_17> I'm trying this now.00:00
T42<edp_17> I guess I should restart that service before grepping it?00:01
T42<elros34> no00:02
T42<edp_17> There should be a switch used for systemctl.00:04
T42<edp_17> Because "systemctl systemd-hostnamed.service | grep Private" gives me "Unknown operation systemd-hostnamed.service."00:04
T42<elros34> typo: missing systemctl show00:05
T42<edp_17> It says: PrivateNetwork=no (I have it commented out in /etc/systemd/systemd-hostnamed.service.d/override.conf00:06
T42<edp_17> It doesn't work.00:07
T42<elros34> what do you mean "It says: PrivateNetwork=no" then it works00:08
T42<edp_17> I set it to PrivateNetwork=yes in /usr/lib/systemd/system/systemd-hostnamed.service but set it as commented out in override.conf. Then "systemctl show systemd-hostnamed.service | grep Private" tells me "PrivateNetwork=yes"00:09
T42<edp_17> I expected either PrivateNetwork=no or #PrivateNetwork=yes00:09
T42<elros34> show 'systemctl cat systemd-hostnamed.service' because I do not fully get you00:10
T42<edp_17> Here: https://paste.ubuntu.com/p/4FvQZbvXD3/00:11
T42<edp_17> Or, perhaps, I should set PrivateNetwork=false in the override file?00:12
T42<edp_17> Nope, the same result.00:12
T42<elros34> You want to have disabled private network right? then just put "so basically 2 lines [Service] and PrivateNetwork=no then systemctl <service name> | grep Private to confirm whether it works" via systemctl edit, it's really that simple00:13
T42<edp_17> This way, it works! Thanks! I build an image to try how it work in a fresh install.00:15
T42<edp_17> Are these the same? #PrivateNetwork=yes and PrivateNetwork=false00:16
T42<elros34> I think so, Private network is not enabled by default00:17
T42<edp_17> Okay, thanks.00:17
T42<edp_17> After reboot it works, so I expect it'll work on a fresh image too.00:21
T42<edp_17> Hm, it seems telephony functions do not work. logcat -b radio: https://paste.ubuntu.com/p/Z6xhcSQyN2/07:54
T42<edp_17> journal: https://paste.ubuntu.com/p/vSyPSd3f3Z/07:54
T42<edp_17> No IMEI displayed in Settings/About product07:55
T42<edp_17> Ops, there is no ofono-ril-plugin installed. :)08:02
T42<edp_17> Yep, I've installed ofono-ril-plugin and now, at least, it's connected to the gsm network.08:05
T42<edp_17> And have IMEI as well. :D08:05
T42<edp_17> Can somebody please let me know how the files are populated into /usr/libexec/droid-hybris/system/lib/ ? (I need to exclude one lib.)08:52
T42<elros34> use rpm -qf <path to lib>, realize it's droid-hal so these libs are from out/target/product/something/09:13
T42<edp_17> Thanks. There are three locations. https://paste.ubuntu.com/p/XRpS8Mzhvp/09:23
T42<edp_17> I guess need to delete it from out/target/product/jfltexx/symbols/system/lib/ and out/target/product/jfltexx/system/lib/ ?09:24
T42<elros34> from <device>/system/lib/ only09:27
T42<edp_17> Okay, thanks.09:27
*** spiiroin_ is now known as spiiroin12:48
T42<edp_17> @elros34 : Do you know what script copies the hybris-boot.img into the final zip file?13:34
T42<edp_17> I think it is rpm/dhd/droid-hal-device.inc that copies it into $RPM_BUIL_ROOT/boot/ but how it is getting into the zip from there?13:37
T42<edp_17> *$RPM_BUILD_ROOT13:39
T42<edp_17> Btw, where is $RPM_BUILD_ROOT folder?13:45
T42<edp_17> It looks like the 'Jolla-@RELEASE@-i9100-@ARCH@.ks' that defines what files to include into the final zip.13:56
T42<edp_17> Okay, I got that. Finally, I was able to build an image that flashes my kernel instead of hybris-boot.img. Cool! :)14:06
*** Ischwitch is now known as Ingvix17:04
T42<elros34> it's little complicated, all over the place droid-hal/config -> then kickstart file20:05
*** phlixi is now known as Guest128822:25
*** phlixi_ is now known as phlixi22:25
T42<edp_17> Yeah, but I've achieved what I wanted, so, no problemo. :)23:02

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!