!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
4 Sep 2021
@kranzes:matrix.orgkranzeshttps://drive.google.com/drive/folders/1V9gNu6XLvPMqhioIrX7bIWVaj0u0qtnb?usp=sharing23:44:29
@kranzes:matrix.orgkranzesDocker build is done uploading23:44:39
@kranzes:matrix.orgkranzesits still uploading the robotnix one you just sent me23:44:48
@kranzes:matrix.orgkranzesbut you already have that23:44:52
5 Sep 2021
@kranzes:matrix.orgkranzes danielrf I am going to sleep now, @ me when you think of something that might be causing it because right now we are kinda stuck. 00:26:50
@danielrf:matrix.orgdanielrfSure, will do00:27:57
@kranzes:matrix.orgkranzesJust one thing, before i head to bed, do you think i should restore my backup on my phone and set it up or will you have time to debug this tomorrow and so i will have to "wipe" my phone again?00:36:31
@danielrf:matrix.orgdanielrfI'd bet I'll have an image you can try tomorrow00:39:00
@kranzes:matrix.orgkranzesAlright00:39:40
@kranzes:matrix.orgkranzesGot any ideas yet?00:39:47
@samueldr:matrix.orgsamueldrrandom idea: tried running (e.g. through userspace qemu and binfmt) the boringssl binary as built?01:03:43
@kranzes:matrix.orgkranzesI have no idea how i would go around doing that01:26:56
@kranzes:matrix.orgkranzes * I have no idea how i would go about doing that01:27:03
@danielrf:matrix.orgdanielrf kranzes: OK, i've got another image you can try when you're free: https://drive.google.com/file/d/1YJExVMesL8ZSaRFwAa62YOAdFnM4ChEE/view?usp=sharing 04:42:57
@danielrf:matrix.orgdanielrf This was built with the following command: nix-build --arg configuration '{config,lib,pkgs,...}: {device="miatoll"; productNamePrefix="lineage_"; source.dirs=(lib.importJSON ./repo-miatoll.json); buildDateTime=1630784589; buildNumber="eng.root.20210904.195236"; useReproducibilityFixes=false; variant="userdebug"; envPackages=[pkgs.openssl.dev pkgs.gcc.cc pkgs.glibc.dev];}' -A ota 04:43:24
@danielrf:matrix.orgdanielrfTrying to build this without relying on the lineageos flavor module. I think the biggest differences will be that we 1) aren't using robotnix-built webview/chromium and 2) aren't flattening APEX packages.04:44:40
@danielrf:matrix.orgdanielrfThis is just trying to get closer to the image you uploaded earlier. Also set buildDateTime and buildNumber to match04:44:56
@danielrf:matrix.orgdanielrfMost of the remaining differences I noticed were just package signatures and some debugging sections in the ELF binaries. (which is a little strange, normally the ELF binaries are the easiest to reproduce in android)04:46:15
@danielrf:matrix.orgdanielrf Already tried running boringssl_self_test64 in a qemu user environment and they behave identically with both images. (seemingly successfully) 04:47:31
@danielrf:matrix.orgdanielrfIf this image doesn't work then I'm out of ideas, unfortunately.04:47:39
@danielrf:matrix.orgdanielrf Also, tagged and pushed grapheneos-2021090401. Tested working on crosshatch. 05:13:49
@kranzes:matrix.orgkranzes danielrf IT BOOTS!!!! 11:13:16
@kranzes:matrix.orgkranzesScreenshot_20210905-141612167.jpg
Download Screenshot_20210905-141612167.jpg
11:17:10
@kranzes:matrix.orgkranzesRedacted or Malformed Event11:18:26
@jcie74:matrix.orgpie_nitpick, https://docs.robotnix.org/ still mentions freenode17:07:56
@jcie74:matrix.orgpie_ danielrf: btw, isnt --arg applied everywhere/every function invocation? im always a little weirded out when someone recommends using it 17:44:07
@jcie74:matrix.orgpie_meanwhile, turns out the person offering me the beefy machine for builds cant offer it anymore, so i again need to find someone that can give me build time18:06:32
@jcie74:matrix.orgpie_ * nitpick, https://docs.robotnix.org/ and https://docs.robotnix.org/modules/flavors.html still mentions freenode18:14:16
@samueldr:matrix.orgsamueldr --arg passes the --arg value only to functions it directly encounters AFAIUI; e.g. if the expression you evaluate is a list of function, it will pass the arguments to the functions from that list, but not further.;
This mirrors the nix-build behaviour where building a list of derivations build all of them; if you have a list of expressions needing to be parameterized to produce derivations to build, I guess it makes sense to provide args to all of them
18:34:09
@samueldr:matrix.orgsamueldr (I'm going from the description in the man page, haven't actually seen --arg being given to anything else than a top-level function, and I've been using --arg extensively in Mobile NixOS) 18:35:53

Show newer messages


Back to Room ListRoom Version: 6