Closed dk1978 closed 4 years ago
Hi Daniel, yes, I faced same issue. This is what I mentioned on the Fairphone forum:
Seems to be caused by a recent change in chromium-webview, where it is moved to product partition which is not big enough on FP3. I don’t have any idea why they did that.
For a quick fix I added these two lines in my local manifest file:
<remove-project name="LineageOS/android_external_chromium-webview"/>
<project path="external/chromium-webview" name="LineageOS/android_external_chromium-webview" groups="pdk" revision="4a9980d94c632c731e8e8bbcea43467878e4bebd" clone-depth="1" />
I don't have any clue why they moved that. Also it's the only package that is moved to product. And I wonder that this is the only package where master revision is used in the LOS16 manifest.
@mstaz This is where you should comment to get answers https://review.lineageos.org/c/LineageOS/android_external_chromium-webview/+/269533
Thanks @sooorajjj for pointing that out. Unfortunately a google account is required for commenting on gerrit. Damn, now I need to create one only for that Ok, found an old one I can use. :+1:
This has stumped me for quite a while now. If we go official with LineageOS on FP3 I would be curious what other devs make of this. No other module wants to be installed on product
as far as I can tell.
I tried overwriting global Makefile
variables such as ALL_DEFAULT_INSTALLED_MODULES
but this is likely to be too dangerous, even if I can make it work. I conclude that your solution using the local manifest file to pull in a working version of chromium-webview
is probably the best we can do. Unless anyone knows a better way I would make that official and document it in our device tree README.
I've built with this commit reverted.
What I don't like in the local manifest approach by @mstaz is that it build the image with an old version of chromium-webview
. My approach uses the latest version, but it's not adequate for an official support of LineageOS on FP3 as it requires an additional (currently) manual step…
Maybe the solution is somewhere in between, but I'm not used enough to the Android build system to have a better suggestion. Just let me know if I can provide/test anything that could help here.
What I don't like in the local manifest approach by @mstaz is that it build the image with an old version of
chromium-webview
. My approach uses the latest version, but it's not adequate for an official support of LineageOS on FP3 as it requires an additional (currently) manual step…
I agree. Note that using this in the local manifest actually works:
<remove-project name="LineageOS/android_external_chromium-webview"/>
<project path="external/chromium-webview" name="LineageOS/android_external_chromium-webview" groups="pdk" revision="lineage-16.0" />
Here I am checking out the branch 'lineage-16.0' which is better than checking out a frozen revision by commit hash. The change to building onto product
has not been pushed to this branch (yet).
Closing this now as local manifest workaround seems to be best option.
Hi, after doing a completely clean build things failed while trying to fill the
product.img
:Any ideas?