| 6 Sep 2021 |
danielrf | hmm, well I didn't include it the only robotnix configuration we've been able to make work so far, so I'd omit it for now | 20:01:24 |
kranzes | So it's uneeded | 20:01:26 |
danielrf | * hmm, well I didn't include it in the only robotnix configuration we've been able to make work so far, so I'd omit it for now | 20:01:36 |
kranzes | In reply to @danielrf:matrix.org kranzes: The configuration should already be quite close, but the next things to try would be to remove the TARGET_FLOS from your configuration, comment out envVars.RELEASE_TYPE, signing.apex.enable, and envVars.OVERRIDE_TARGET_FLATTEN_APEX from flavors/lineageos/default.nix Is that at once? | 20:01:55 |
kranzes | Or do i remove them one by one | 20:02:14 |
kranzes | Each rebuild | 20:02:23 |
danielrf | I'd probably try to remove them all now and add them back on each rebuild | 20:02:32 |
kranzes | Same with the reprofucibility fixes | 20:02:46 |
kranzes | ? | 20:02:53 |
danielrf | yep. Let's try to get your builds working before we start adding stuff back in | 20:03:07 |
danielrf | pie_: 2x my 1hr? what did I report as 1hr? | 20:03:33 |
kranzes | Well im not home and only have my phone so it can be quite hard | 20:03:36 |
kranzes | I won't be home till uhh in 2 days maybe | 20:03:51 |
kranzes | I can try building through ssh on my phone | 20:04:14 |
danielrf | dsx: Hmm, that's unfortunate. I've switched the default for redfin to use kernel.enable = false for now in https://github.com/danielfullmer/robotnix/commit/eb2bb398270639bda9c6fc43be5951b4c4025452 | 20:10:02 |
danielrf | dsx: We have an open issue to build kernels in the way recommended by upstream, which might fix the issue. But that will require some work: https://github.com/danielfullmer/robotnix/issues/116 | 20:11:14 |
kranzes |  Download Screenshot_20210906-231400748 (1).jpg | 20:14:23 |
kranzes | What about these | 20:14:32 |
danielrf | Yep, let's comment out the "vendor/lineage" section | 20:15:05 |
danielrf | but not "system/extras". That was a necessary fix for lineageos to work with our python from nixpkgs | 20:15:30 |
kranzes | What about kernelsNeedFix? | 20:15:47 |
kranzes | And patchKernelDir | 20:16:09 |
kranzes | Or is this part of reproducabilityfixes? | 20:18:23 |
danielrf | yeah its applied if you enable useReproducibilityFixes | 20:21:07 |
kranzes | https://github.com/Kranzes/robotnix-forklineageos/commit/e04021c606a021ca4f3d8fc1a96b531e8d403b0d | 20:24:08 |
kranzes | How does this look? | 20:24:14 |
kranzes | Did i miss anything? | 20:24:56 |
danielrf | Looks good to me! | 20:26:41 |
kranzes | danielrf you told me before that you ran a boringssl test on the image that worked, could you explain to me how you did that? | 22:23:06 |
danielrf | I was just messing around, and I'm not sure it proves anything, but I extracted the filesystem from the system.img, and ran a command like qemu-aarch64 system/apex/com.android.runtime/bin/linker64 $(pwd)/system/bin/boringssl_self_test64 | 22:27:16 |