*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 01:34 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@pD9EE31A9.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds) | 06:31 | |
*** krnlyng <krnlyng!~liar@77.117.99.4.wireless.dyn.drei.com> has quit IRC (Ping timeout: 252 seconds) | 09:19 | |
*** krnlyng <krnlyng!~liar@178.112.144.37.wireless.dyn.drei.com> has joined #sfdroid | 09:33 | |
*** ChanServ sets mode: +o krnlyng | 09:33 | |
Tofe | saidinesh5: can't you just use LD_LIBRARY_PATH? | 10:22 |
---|---|---|
saidinesh5 | Tofe: that was attempt#1. i had one in the init.sfdroid.rc itself. it was somehow messing up other services which were loading | 10:23 |
Tofe | oh. ok. That's not very reassuring for the future overlay attempt... | 10:23 |
saidinesh5 | i did try LD_LIBRARY_PATH/LD_PRELOAD only for services in init.sfdroid.rc too. it wasnt working though. half the system was taking stuff from /usr/libexec/droid-hybris/system . half from /system. then there was also /usr/libexec/sfdroid/system | 10:25 |
saidinesh5 | hence the need to run the thing in a container/chroot. As a bonus, it not touching my data partition means debugging should be easier + no annoying "Optimizing applications" everytime i try to boot into android | 10:26 |
Tofe | ah I thought you were already in the context of a lxc container | 10:26 |
saidinesh5 | nah. lxc wasnt starting yet for me. was getting some odd cgroup errors | 10:28 |
saidinesh5 | i did try running the stripped down init + system in a chroot , but i think it was very stripped down (built using core_minimal.mk in android's build target) to show any GUI | 10:29 |
saidinesh5 | it was just spawning some 15-20 dex2opt processes which was quickly overheating the phone | 10:30 |
saidinesh5 | So now my options are: using overlayfs to get a nice system partition with just the modified bits from SFdroid + the base system. or trial and error till i get a nice stripped down android | 10:31 |
saidinesh5 | as of day before yesterday, just one libpac dependency was trying to pull in the whole of chromium , which i was trying to get rid of | 10:32 |
Tofe | saidinesh5: for lxc you need specific kernel features | 10:34 |
Tofe | there's a lxc tool to check them, iirc | 10:34 |
saidinesh5 | the lxc-checkconfig was mostly positive | 10:34 |
Tofe | well, either way, it'll require some time | 10:36 |
saidinesh5 | https://paste.kde.org/pp2azqkaw | 10:36 |
saidinesh5 | my lxc-checkconfig | 10:36 |
saidinesh5 | yeah it is such a pain .. especially the slow slow slow build times of android | 10:37 |
saidinesh5 | let me get you the error from lxc too 1 sec | 10:37 |
Tofe | on LuneOS we are starting a basic CM12.1 init from lxc, so I confirm it can work (on mako & maguro) :) | 10:38 |
saidinesh5 | could you tell me what could be going wrong here;? https://paste.kde.org/pmbkizc3m | 10:39 |
saidinesh5 | yeah, i got my init pre-script from lune-os itself | 10:39 |
Tofe | saidinesh5: could it be lxc is blocked by some apparmor/selinux mechanism? | 10:40 |
saidinesh5 | https://paste.kde.org/p4hjhvxqg | 10:40 |
saidinesh5 | my pre-init script btw. | 10:40 |
saidinesh5 | and there is no apparmour/selinux in my sailfish btw. | 10:40 |
Tofe | ok | 10:40 |
saidinesh5 | do i have to do something else other than put the lxc-config and the pre-start post-stop files in /var/lib/lxc/sfdroid? | 10:41 |
saidinesh5 | and then calling: # lxc-start -n sfdroid -- /init | 10:41 |
Tofe | I don't think so | 10:42 |
saidinesh5 | what/where do i look for tips on debugging this? | 10:42 |
Tofe | Not sure; but there might be some cgroup configuration to do here | 10:44 |
saidinesh5 | hmm.. | 10:45 |
*** nh1402 <nh1402!~nh1402@95.148.89.10> has joined #sfdroid | 11:27 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a79.dyn.telefonica.de> has joined #sfdroid | 11:46 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-vkjcvrmxkedkxkzr> has quit IRC (Quit: Connection closed for inactivity) | 12:09 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a79.dyn.telefonica.de> has quit IRC (Ping timeout: 240 seconds) | 13:00 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8ae4.dyn.telefonica.de> has joined #sfdroid | 13:09 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-gdmnvgykzylczndd> has joined #sfdroid | 13:36 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8ae4.dyn.telefonica.de> has quit IRC (Ping timeout: 245 seconds) | 13:47 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a2b.dyn.telefonica.de> has joined #sfdroid | 13:54 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a2b.dyn.telefonica.de> has quit IRC (Read error: Connection reset by peer) | 14:24 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc895b.dyn.telefonica.de> has joined #sfdroid | 14:29 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc895b.dyn.telefonica.de> has quit IRC (Ping timeout: 256 seconds) | 14:54 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a8c.dyn.telefonica.de> has joined #sfdroid | 14:58 | |
*** cvp[mobile] <cvp[mobile]!~sailfish@x59cc8a8c.dyn.telefonica.de> has quit IRC (Ping timeout: 240 seconds) | 16:05 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Ping timeout: 240 seconds) | 18:08 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid | 18:11 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Remote host closed the connection) | 18:27 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 18:27 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Read error: Connection reset by peer) | 18:35 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid | 18:36 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-gdmnvgykzylczndd> has quit IRC (Quit: Connection closed for inactivity) | 18:39 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has quit IRC (Remote host closed the connection) | 18:45 | |
*** horuxan <horuxan!~horuxanxx@201.46.189.63> has joined #sfdroid | 18:49 | |
nh1402 | saidinesh5: how's it going? | 18:53 |
*** piggz <piggz!~piggz@195.147.198.68> has joined #sfdroid | 19:48 | |
*** piggz <piggz!~piggz@195.147.198.68> has quit IRC (Read error: Connection reset by peer) | 20:17 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Remote host closed the connection) | 21:11 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has joined #sfdroid | 21:11 | |
saidinesh5 | nh1402: on a 4-5 day break since saturday. It was the kite festival here + working on a little something for the coding competition | 21:13 |
*** nh1402 <nh1402!~nh1402@95.148.89.10> has quit IRC (Ping timeout: 252 seconds) | 21:51 | |
*** taaem <taaem!~taaem@unaffiliated/taaem> has quit IRC (Ping timeout: 252 seconds) | 21:52 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!