!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
6 Sep 2021
@danielrf:matrix.orgdanielrfhmm, 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 now20:01:24
@kranzes:matrix.orgkranzesSo it's uneeded20:01:26
@danielrf:matrix.orgdanielrf * 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 now20:01:36
@kranzes:matrix.orgkranzes
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:matrix.orgkranzesOr do i remove them one by one20:02:14
@kranzes:matrix.orgkranzesEach rebuild20:02:23
@danielrf:matrix.orgdanielrfI'd probably try to remove them all now and add them back on each rebuild20:02:32
@kranzes:matrix.orgkranzesSame with the reprofucibility fixes20:02:46
@kranzes:matrix.orgkranzes?20:02:53
@danielrf:matrix.orgdanielrfyep. Let's try to get your builds working before we start adding stuff back in20:03:07
@danielrf:matrix.orgdanielrf pie_: 2x my 1hr? what did I report as 1hr? 20:03:33
@kranzes:matrix.orgkranzesWell im not home and only have my phone so it can be quite hard 20:03:36
@kranzes:matrix.orgkranzesI won't be home till uhh in 2 days maybe 20:03:51
@kranzes:matrix.orgkranzesI can try building through ssh on my phone 20:04:14
@danielrf:matrix.orgdanielrf 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:matrix.orgdanielrf 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:matrix.orgkranzesScreenshot_20210906-231400748 (1).jpg
Download Screenshot_20210906-231400748 (1).jpg
20:14:23
@kranzes:matrix.orgkranzesWhat about these20:14:32
@danielrf:matrix.orgdanielrfYep, let's comment out the "vendor/lineage" section20:15:05
@danielrf:matrix.orgdanielrfbut not "system/extras". That was a necessary fix for lineageos to work with our python from nixpkgs20:15:30
@kranzes:matrix.orgkranzesWhat about kernelsNeedFix?20:15:47
@kranzes:matrix.orgkranzesAnd patchKernelDir20:16:09
@kranzes:matrix.orgkranzesOr is this part of reproducabilityfixes?20:18:23
@danielrf:matrix.orgdanielrfyeah its applied if you enable useReproducibilityFixes20:21:07
@kranzes:matrix.orgkranzeshttps://github.com/Kranzes/robotnix-forklineageos/commit/e04021c606a021ca4f3d8fc1a96b531e8d403b0d20:24:08
@kranzes:matrix.orgkranzesHow does this look?20:24:14
@kranzes:matrix.orgkranzesDid i miss anything?20:24:56
@danielrf:matrix.orgdanielrfLooks good to me!20:26:41
@kranzes:matrix.orgkranzes 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:matrix.orgdanielrf 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

Show newer messages


Back to Room ListRoom Version: 6