How to build UT for FP2
I'd like to get all the sources and build UT for the FP2.
My purpose is just to learn how it works.
But I did not find any documentation for this, may be I did not find it. Especially, is there a repo manifest store somewhere?
@ublublu I don't know about FP2 specific bits but our code is in https://github.com/ubports
Maybe this documentation can help you to start understanding the whole process, at least until someone who really knows how the build process works reply to your question https://docs.ubports.com/en/latest/appdev/system-software.html
Edit: this is old but has some interesting info too https://github.com/ubports/wiki.ubports.com/blob/master/How-a-UBports-Image-is-Built.md
Thnak you @advocatux, I will look at these info.
you will need:
- https://github.com/ubports/android (the starting point to build the Android parts)
- https://github.com/ubports/android_kernel_fairphone_fp2 (Kernel repo)
- https://github.com/ubports/android_device_fairphone_fp2 (Device repo)
- https://github.com/ab2ut/proprietary_vendor_fairphone (Vendor blobs)
Now the problem is that while the current FP2 build was still made in the legacy way, our documentation is now based on Halium. See http://docs.halium.org/en/latest/porting/get-sources.html - Do you want to build a working image, or you just want to learn about the process?
Thank you @flohack,
I'd like mainly to understand the process and why not at the end building a working image.
I initially thought I would be able to reproduce a same build as the ones from UBports, but that's not so easy (for me)!
I think I will follow the porting information with Halium, because it seems well documented, even if I suppose I won't get a working image.
The use of Halium is not so clear for me, is this issue https://github.com/ubports/ubuntu-touch/issues/404 is to integrate halium in UT for all supported devices?
@ublublu Ok clear then. Yes this ticket needs to be solved in order for UT to boot with a Halium port. We hope to be able to soon start working on this. It will eventually add immedaite support for more devices