Tuesday, 2021-04-27

*** mp1072 is now known as mp10707:17
T42<b100dian> any advice how to handle the two (platform, habuild) chroots when building from a mounted usb ssd? I have it mounted on `/mnt/storage` and bind-mounted the android folder to `~/hadk`, but it is not (by default) visible when running `sfossdk`13:53
T42<b100dian> (same goes for the mer folder, bind-mounted to `/srv/mer`13:53
malI use something like this in .hadk.env: sudo mount --bind /parentroot/some/path/to/other/disk "/path/to/where/android_root/is/supposed/to/be"14:04
T42<b100dian> oh wow, that actually seems to work very nice14:07
T42<b100dian> I tried changing the mer-sdk-chroot script with something like this but was not successful14:08
T42<b100dian> so I guess in this case the fact that on the host the mountpoints aren't suid (or: are nosuid) does not count, since this is a new bind-mount?14:10
T42<b100dian> anyway, your .hadk.env advice saved me a ton of manual typing - ctrl-R-ing, thanks14:18
T42Mare_2020 was added by: Mare_202015:13
T42<b100dian> hmm it seems there are some ~/.scratchbox2/ configs that need to also be synced if you build from two machines. The /srv/mer/targets contents are not in sync with that home folder15:17
T42<Elvira Swanson %lastname%> Fwd from Spam: 𝑮𝒐𝒐𝒅 𝒊𝒏𝒗𝒆𝒔𝒕𝒎𝒆𝒏𝒕 𝒉𝒂𝒔 𝒃𝒆𝒆𝒏 𝒎𝒚 𝒎𝒂𝒊𝒏 𝒔𝒐𝒖𝒓𝒄𝒆 𝒐𝒇 𝒊𝒏𝒄𝒐𝒎𝒆. 𝒀𝒐𝒖 𝒅𝒐 𝒏𝒐𝒕 𝒏𝒆𝒆𝒅 𝒕𝒐 𝒐𝒗𝒆𝒓 𝒘𝒐𝒓𝒌 𝒚𝒐𝒖𝒓𝒔𝒆𝒍𝒇 𝒕𝒐 𝒆𝒂𝒓𝒏 𝒎𝒐𝒏𝒆𝒚. 𝑨𝒍𝒍 𝒚𝒐𝒖 𝒏𝒆𝒆𝒅 𝒊𝒔 𝒕𝒉𝒆 �15:20
T42𝒚𝒐𝒖 𝒄𝒂𝒏 𝒃𝒖𝒊𝒍𝒅 𝒚𝒐𝒖𝒓 𝒘𝒆𝒂𝒍𝒕𝒉 𝒇𝒓𝒐𝒎 𝒕𝒉𝒆 𝒄𝒐𝒎𝒇𝒐𝒓𝒕 𝒐𝒇 𝒚𝒐𝒖𝒓 𝒉𝒐𝒎𝒆 100% 𝒍𝒆𝒈𝒊𝒕 𝒂𝒏𝒅 𝒓𝒆𝒂𝒍15:20
T42<Elvira Swanson %lastname%> 𝑶𝒏𝒍𝒚 𝒔𝒆𝒓𝒊𝒐𝒖𝒔 𝒊𝒏𝒅𝒊𝒗𝒊𝒅𝒖𝒂𝒍𝒔 𝒔𝒉𝒐𝒖𝒍𝒅 𝒋𝒐𝒊𝒏 𝒕𝒉𝒊𝒔 𝒑𝒍𝒂𝒕𝒇𝒐𝒓𝒎 𝒄𝒍𝒊𝒄𝒌 𝒐𝒏 𝒕𝒉𝒆 𝒍𝒊𝒏𝒌 𝒃𝒆𝒍𝒐𝒘 𝒕𝒐 𝒄𝒉𝒂𝒕 𝒘𝒊𝒕𝒉 𝒕𝒉𝒆 𝒎𝒂𝒏𝒂𝒈𝒆𝒓15:20
T42<Elvira Swanson %lastname%>     👇👇👇👇15:20
T42<Elvira Swanson %lastname%> https://t.me/joinchat/9t2I6f-liFwzYzc015:20
T42<b100dian> I'm rebuilding the environment, and remembered this error: ```16:44
T42<b100dian> cp: cannot create regular file '/home/vlad/hadk/installroot/usr/libexec/droid-hybris/system/lib/libdl.so': No such file or directory```16:44
T42<b100dian> (x3)16:44
T42<b100dian> Which is a copy made into a file that already links to `/apex/com.android.runtime/lib/bionic/libdl.so` (which probably does not exist on the computer, only on the device.16:44
T42<b100dian> Am I missing something? how could this pass?16:44
mal@b100dian did you remove the patch we did earlier17:13
Mister_Magistermal: can i take a bit of your time?17:41
Mister_Magisteri will in fact17:41
Mister_Magisterlogs incomming17:41
Mister_Magistermy build fails on linking17:41
Mister_Magisteri'm thinking of just removing this file or something17:41
Mister_Magistermy intuition haven't failed me, i removed out/soong/.intermediates/external/jemalloc_new/libjemalloc5 and voila17:45
T42<b100dian> mal: I'll have to manually look through the patches since in theory this is the same folder that built the full image on another computer. are you referring to the patches from the FAQ, am I guessing right?17:56
Mister_Magistermal: it built sucessfully! now we can play17:58
mal@b100dian didn't we fix that apex issue in dhd submodule18:01
T42<b100dian> mal: I think Apex path was fixed in this conversation but I just used the search and copied the solution. However, this is a cp from the build script failing because it lands on a link18:08
*** olesalscheider_ is now known as olesalscheider18:28
T42<b100dian> to be clear, in this diff, the apex_path variable was from this conversation but the cp change was not and I was trying to figure out if it is correct or generates errors down the road: https://github.com/mer-hybris/droid-hal-device/commit/a14a787570e505ea11c2b1db849e1dfda053122219:35
mal@b100dian are you saying the target is already there or what did you mean when talked about that it's a link?20:25
Mister_Magistermal: i assume its not standard process? fix kernel config, package and ship it?21:23
Mister_Magisterno point in putting it on obs21:24
malMister_Magister: you will needs some special things to config repo21:33
Mister_Magistermal: for now i just want to have it booting21:33
Mister_Magisterand confirm that modem is working21:33
Mister_Magistermal: is there anything special or normal flow?21:33
Mister_Magisterexcept the camera which i don't care for now21:34
Mister_Magisteri only want to check modem21:34
malhybris-17.1 won't boot very far without the config changes21:34
Mister_Magisterkernel config ya mwan21:34
malno, config repo21:34
Mister_Magisterso you mean local repo?21:35
malsome ld.config and selinux things21:35
Mister_Magisterbut you are talking about local repo right?21:35
malthe usual adaptation config repo21:35
Mister_Magisteryeah so droid-local-repo right?21:36
Mister_Magisteri'll just assume yes and carry on xd21:37
Mister_Magisteri see22:15

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