!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
22 Jan 2025
@atemu12:matrix.orgatemu12Documentation on that could be better but it lays out the requirements04:02:58
@waltmck:matrix.orgwaltmckah, that was very silly04:21:21
@waltmck:matrix.orgwaltmckthank you!04:21:23
26 Jan 2025
@cadecadet:matrix.orgcadecadet joined the room.23:11:45
27 Jan 2025
@panxer:matrix.org@panxer:matrix.org left the room.01:57:16
@autra:trancart.euautra joined the room.09:17:52
@autra:trancart.euautra

Hi! I'm trying to setup robotnix to build latests los 22 for my fp3. I've added "FP3" to flavors/lineageos/supported_devices.toml and I'm executing flavors/lineageos/update.sh lineage-22.1. Some things seem to work correctly (flavors/lineageos/device-metadata.json and flavors/lineageos/lineage-22.1/repo.json are updated), but this script keeps failing with errors like:

subprocess.CalledProcessError: Command '['git', 'ls-remote', 'https://android.googlesource.com/platform/external/rust/crates/tower']' returned non-zero exit status 128.

(never the same repo).

What's going on? I feel like I'm getting rate limited (especially because there are 429 errors before)... Is it the case?

09:23:00
@atemu12:matrix.orgatemu12Skip the repo update09:23:38
@atemu12:matrix.orgatemu12New devices only need the device dir updates09:23:54
@atemu12:matrix.orgatemu12But yes, that's likely just a rate limit09:25:15
@autra:trancart.euautraThere is way to authenticate to android.googlesource.com to avoid that, but I don't know if robotnix supports that or not.09:27:28
@atemu12:matrix.orgatemu12You don't need to09:27:40
@autra:trancart.euautra So I don't use update.sh? (the command that fails is /mk_repo_file.py in this script) 09:28:12
@atemu12:matrix.orgatemu12You don't need to contact any googlesource.com sources09:28:16
@atemu12:matrix.orgatemu12Uncomment the repo update09:28:26
@atemu12:matrix.orgatemu12If you're motivated, you could build in an option to do that; PRs welcome09:29:23
@autra:trancart.euautrajust the "repo init" in mk_repo_file.py?09:32:28
@autra:trancart.euautraapparently not09:32:52
@atemu12:matrix.orgatemu12No the entire step09:32:55
@autra:trancart.euautraI've commented the call to mk_repo_file.py entirely09:33:05
@atemu12:matrix.orgatemu12Yup09:33:11
@autra:trancart.euautraThe rest of the tree is somewhere else? In cachix?09:33:35
@atemu12:matrix.orgatemu12The rest of what tree?09:33:52
@atemu12:matrix.orgatemu12The cachix contains nothing of interest FWIW09:36:44
@autra:trancart.euautraok I'm just suprised by what you said (new devices only need the device dir update), because my experience with android build is that you need the whole lineage os tree to build, but I guess I'll see all these downloads later ;-)09:53:01
@atemu12:matrix.orgatemu12The updater really is just thatz an updater09:53:53
@atemu12:matrix.orgatemu12 * 09:54:00
@atemu12:matrix.orgatemu12The sources for the build are fetched via nix09:54:18
@atemu12:matrix.orgatemu12The updaters just generate lockfiles09:54:34
@autra:trancart.euautra ok thanks! So I've launched the nix-build comamnd and my config evaluates correctly now, and indeed, it seems that I'm now downloading the entire internet ;-) 10:06:24

Show newer messages


Back to Room ListRoom Version: 6