| T42 | <nc1x72> Hi, it’s usb0 | 15:59 |
|---|---|---|
| T42 | <nc1x72> I decided to start over. In fact, during previous compilation, I commented out some stuffs because build was failing. | 19:32 |
| T42 | <nc1x72> | 19:32 |
| T42 | <nc1x72> During packages build, I also skip droid-hal-version-$DEVICE rpms because the build keeps failing with this error : nothing provides droid-system-$DEVICE. | 19:32 |
| T42 | <nc1x72> | 19:32 |
| T42 | <nc1x72> Any tips on fixing that? I fixed the other errors. | 19:32 |
| mal | did you package the android build? | 20:42 |
| T42 | <nc1x72> I have boot and vendor_boot compiled yes | 20:44 |
| T42 | <nc1x72> But not things like system, vendor, system_ext and odm | 20:44 |
| mal | no, droid-system package i.e. the way I have it in fairphones is the a full android build which is then packaged to include relevant parts | 20:45 |
| mal | quite close to what is done here https://docs.sailfishos.org/Develop/HW_Adaptation/Sailfish_X_Xperia_Android_13_Build_and_Flash/ under the part "Without waiting for the middleware to finish, open new shell terminal." | 20:47 |
| T42 | <nc1x72> The part that says “Without waiting for the mw to finish” roughly tells to compile system and vendor images. Right? | 20:59 |
| T42 | <nc1x72> That’s what I understood | 20:59 |
| mal | well on newer based also system_ext and odm might be needed | 21:12 |
| mal | on fp5 I built system, vendor, system_ext and odm | 21:12 |
| mal | and I have a separate android source checkout for the full build so the patches won't interfere | 21:13 |
| T42 | <nc1x72> I noticed that in your fp5 build yes. Like I said in the beginning, I’m trying to replicate the exact fp5 build but with Spacewar bits. Would be very helpful if you had the manifest for fp5 and a compilation guide (or a gist maybe). I’m following xperia android 13 adaptation guide (which seems the closest to what I’m trying to achieve). | 21:23 |
| T42 | <nc1x72> Now hitting: error : expected expression regarding thread-current-inl.h when compiling system and vendor images. | 21:41 |
| T42 | <nc1x72> This is LineageOS sources issue | 21:41 |
| mal | I used lineage 21 in my fp5 | 21:53 |
| mal | i.e. android 14 | 21:54 |
| mal | I built the whole android actually and then just mounted the built images (no need for simg2img on fp5) and then just ran the copy_tree.sh as mentioned (but with all needed image mount points as parameters) | 21:56 |
| mal | the droid-system spec I used was just this https://pastebin.com/FAMpKSut | 21:58 |
| mal | to build the full android side image just follow lineage instructions, except of course select if you want to do user or userdebug build | 21:59 |
| mal | and the mountpoint for the system images I used were $ANDROID_SYSPART-mnt-system, $ANDROID_SYSPART-mnt-system_ext/system_ext, $ANDROID_SYSPART-mnt-vendor/vendor and $ANDROID_SYSPART-mnt-odm/odm | 22:00 |
| T42 | <nc1x72> So, I technically don’t need to build the whole Android thing after all. Merely need to somewhat find a LOS 21 build and mount the images to run copy_tree.sh | 22:50 |
| T42 | <nc1x72> And by %define build_user_replacement some_user, "some_user" refers to what exactly? | 22:56 |
| mal | well whatever you want to use | 23:01 |
| mal | in case of using downloaded LOS it's not relevant | 23:02 |
| mal | that was just hide some details from my build system | 23:02 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!