| 6 Sep 2021 |
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 |
danielrf | I also had to set LD_LIBRARY_PATH to include some other libs so the dynamic linker would work | 22:27:54 |
kranzes | In reply to @danielrf:matrix.org 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 Could you try running that on one of the failed zips? | 22:31:05 |
kranzes | To see if the test passes on images that boot and if it fails on images that don't boot | 22:31:40 |
danielrf | I already tried that, and I didn't get any obvious error on either of them | 22:33:20 |
kranzes | So the results are meaningless right | 22:44:00 |
kranzes |  Download Screenshot_20210907-014426936.jpg | 22:44:38 |
kranzes | Still building | 22:44:40 |
kranzes | 88% | 22:44:45 |
| 7 Sep 2021 |
kranzes | danielrf Booted correctly | 00:41:20 |
kranzes | Currently using it | 00:41:33 |
kranzes | What do you think it is? | 00:41:55 |
danielrf | wow! It still seems surprising that any of the things you'd commented out could cause that | 00:41:59 |
kranzes | Yup | 00:42:11 |