!UUYziobKGGxpovWyAN:nixos.org

Robotnix

250 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix78 Servers

Load older messages


SenderMessageTime
29 Oct 2021
@hmenke:matrix.orghmenkeSo it seems to also be in upstream18:24:18
@danielrf:matrix.orgdanielrfOK cool.18:25:21
@hmenke:matrix.orghmenkeThank god I don't have to build Chromium.18:25:27
@danielrf:matrix.orgdanielrfHaha, it's a longstanding issue I've been trying to workaround to no avail.18:25:56
@hmenke:matrix.orghmenkeRegarding triChrome, can the user-generated digest not be included in the same way as it is done with the Auditor apk hash?18:29:53
@hmenke:matrix.orghmenkeOr is this some kind of service token that you need a Google Developer account for?18:30:21
@danielrf:matrix.orgdanielrfNo, it is like the auditor apk18:30:31
@danielrf:matrix.orgdanielrfIt's just that rebuilding the auditor apk isn't too much of an ask for our users :)18:30:42
@hmenke:matrix.orghmenkeWhy not just set some default digest in robotnix and if users want to change it they have to rebuild?18:31:31
@danielrf:matrix.orgdanielrfFor unsigned builds that would work--but if the user wants to have their own signing keys for chromium/vanadium then their cert digest would need to be included in the build18:32:32
@danielrf:matrix.orgdanielrfhttps://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/chrome/android/java/AndroidManifest_trichrome_chrome.xml18:33:26
@hmenke:matrix.orghmenkeHm, I guess that will be an issue in the long run because Monochrome is deprecated 😕18:33:34
@danielrf:matrix.orgdanielrf the trichrome_certdigest ends up being used here ^ 18:33:45
@danielrf:matrix.orgdanielrfIndeed18:33:46
@danielrf:matrix.orgdanielrfI tried to look into some way to do the final construction of the apks where we include this digest in a different derivation, or somehow patching the built version with a custom digest after the fact18:34:36
@danielrf:matrix.orgdanielrfbut didn't get very far18:34:40
@hmenke:matrix.orghmenkeI assume that sideloading is not an option because the WebView is an essential system component.18:35:34
@hmenke:matrix.orghmenkejinja2 + xml18:36:26
@danielrf:matrix.orgdanielrfI'm not sure how sideloading would help18:36:26
@hmenke:matrix.orghmenkeWhat is the world coming to?18:36:27
@hmenke:matrix.orghmenkeWell, sideloading would help with signed builds insofar as you don't have to replace the keys of the APK.18:37:14
@hmenke:matrix.orghmenkeI can just sideload an APK signed with your keys containing your certDigest.18:38:08
@danielrf:matrix.orgdanielrfOh, yeah if we just have people use builds signed by me than this can be made much easier. But that's not something I want to do18:38:51
@hmenke:matrix.orghmenkeDo you have an idea about how many users robotnix has? I think there should be a discussion about federated build infrastructure again.18:39:31
@hmenke:matrix.orghmenkeBecause if a couple of people drive the same config they could share builds.18:39:57
@danielrf:matrix.orgdanielrfOpen to any suggestions people have, in terms of a survey / wiki / etc to get more information. I'd love to know what combinations of devices/flavors/modules people are using.18:41:18
@danielrf:matrix.orgdanielrfAt the very least so we know what areas are being tested well vs. not.18:42:10
@hmenke:matrix.orghmenkeMy build has returned to being fairly minimal and I'm happy to share my resources with others: https://git.henrimenke.de/henri/android/src/branch/master/sunfish.nix18:42:54
@hmenke:matrix.orghmenkeRight now I'm only building OTA images but I can also build factory images of course.18:43:14
@anodae:matrix.organodae joined the room.20:09:50

There are no newer messages yet.


Back to Room ListRoom Version: 6