!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
15 Dec 2023
@ultra:beeper.comAlex S changed their profile picture.21:02:39
18 Dec 2023
@ajgrf:beeper.com@ajgrf:beeper.com left the room.06:08:10
@ultra:beeper.comAlex S changed their profile picture.06:50:06
23 Dec 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:22:47
24 Dec 2023
@f44:matrix.orgf44 joined the room.10:10:30
26 Dec 2023
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone changed their display name from matthewcroughan - nix.how to matthewcroughan - Linux 6.7 When.16:48:00
30 Dec 2023
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT 2128) to raitobezarius.19:53:36
6 Jan 2024
@eyjhb:eyjhb.dkeyJhb set a profile picture.14:00:09
8 Jan 2024
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (UTC+2) to SomeoneSerge (hash-versioned python modules when).04:50:26
9 Jan 2024
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone changed their display name from matthewcroughan - Linux 6.7 When to matthewcroughan.08:40:44
18 Jan 2024
@stas:mainframe.lv@stas:mainframe.lvHello! I have searched everywhere, but could not find the answer. How do I update the lineageos flavour to the latest git releases? I have found the scripts in flavours/lineageos, but no idea how to run them. They always complain of missing paths20:01:25
19 Jan 2024
@atemu12:matrix.orgatemu12 Stas: Running the update.sh with the branch name is the way to go. The script often breaks though. 19:43:40
20 Jan 2024
@stas:mainframe.lv@stas:mainframe.lv
In reply to @atemu12:matrix.org
Stas: Running the update.sh with the branch name is the way to go. The script often breaks though.

I did try running it with flavors/lineageos/update.sh lineage-20.0, however I get python module errors. When forcing PYTHONPATH I get further but in the end it complans about missing paths.

I am doing something wrong for sure, missing some nix-shell command or something.

11:48:07
@stas:mainframe.lv@stas:mainframe.lv Running nix shell --extra-experimental-features nix-command --extra-experimental-features flakes gives me a flakes error: error: flake 'git+file:///home/stas/src/robotnix' does not provide attribute 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux 11:49:16
@stas:mainframe.lv@stas:mainframe.lv

nix --extra-experimental-features flakes --extra-experimental-features nix-command develop -c ./flavors/lineageos/update.sh lineage-20.0 got me further, but it fails as:

git revision is cd9ece523f3d6044e55b1624e86a508dc7cc7cbf
path is /nix/store/a0mm1afkcvk2w9b2syvqill9vfqcbl9b-hudson
git human-readable version is -- none --
Commit date is 2023-11-08 17:16:51 +0100
hash is 092q3ysaq4aalhz906ma06j5bddh532lvyqc2il8wizss3zbc4a7
Traceback (most recent call last):
  File "/home/stas/src/robotnix/flavors/lineageos/./update_device_metadata.py", line 90, in <module>
    metadata = fetch_metadata()
  File "/home/stas/src/robotnix/flavors/lineageos/./update_device_metadata.py", line 29, in fetch_metadata
    lineage_build_targets = open(f'{hudson_path}/{lineage_build_targets_path}').readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'None//nix/store/a0mm1afkcvk2w9b2syvqill9vfqcbl9b-hudson/lineage-build-targets'
12:04:34
@stas:mainframe.lv@stas:mainframe.lvthis change did the trick!12:11:14
@stas:mainframe.lv@stas:mainframe.lvclipboard.png
Download clipboard.png
12:11:17
@atemu12:matrix.orgatemu12 Stas: Ah that might be my fault 16:30:28
@atemu12:matrix.orgatemu12I did that to make it work with a separate Nix store16:31:03
@atemu12:matrix.orgatemu12I must have missed testing it without16:31:18
@atemu12:matrix.orgatemu12Though I thought I did16:31:23
@therivercass:matrix.orgsilent_water changed their display name from therivercass to silent_water.17:27:17
@stas:mainframe.lv@stas:mainframe.lvAh, so that was what NIX_REMOTE sets. Will see if I can build a working image now. It did build for the versions in the git master. Thanks for providing lineage, even though you don't use it19:18:22
@atemu12:matrix.orgatemu12LineageOS is the one and only flavor I use ;)19:20:34
@atemu12:matrix.orgatemu12I don't have any AOSP-capable devices19:20:44
@atemu12:matrix.orgatemu12(Aside from the emulator I guess.)19:20:52
21 Jan 2024
@stas:mainframe.lv@stas:mainframe.lvhaha, I thought all the GrapheneOS focus was cause you are into it :D08:50:49
@stas:mainframe.lv@stas:mainframe.lv

Script fails with the following after a while:

error: RPC failed; HTTP 429 curl 22 The requested URL returned error: 429
fatal: expected flush after ref listing)

Any idea what might cause it?

10:18:18
@stas:mainframe.lv@stas:mainframe.lvgoogle rate limits me?10:18:37
@atemu12:matrix.orgatemu12
In reply to @stas:mainframe.lv
google rate limits me?
Yes, yes it does
12:12:34

Show newer messages


Back to Room ListRoom Version: 6