!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
28 Apr 2023
@therivercass:matrix.orgsilent_waterhmm with the sops options disabled?11:48:51
@therivercass:matrix.orgsilent_waterok I'll take a look this morning before work11:49:00
@therivercass:matrix.orgsilent_waterI might have missed a guard somewhere11:49:07
@therivercass:matrix.orgsilent_water@ryantrinkle are you using the flake to build or are you using the release script?11:51:27
@therivercass:matrix.orgsilent_water * ryantrinkle: are you using the flake to build or are you using the release script? 11:51:40
@therivercass:matrix.orgsilent_watercan you also share your config and a log of the error you're seeing?11:58:01
@therivercass:matrix.orgsilent_waterfound the issue. I had it reading sopsDecrypt.keyType without a guard to make sure sops decryption was actually enabled12:25:09
@therivercass:matrix.orgsilent_watertry the fix I just pushed and let me know if you have issues12:26:26
30 Apr 2023
@gooberpatrol66:matrix.orggooberpatrol66I get this error when building ota image18:23:40
@gooberpatrol66:matrix.orggooberpatrol66building '/nix/store/vd325v1dk21w4v53kkvlai88ag7s7rk9-crosshatch-signed_target_files-2022041111.zip.drv'... Missing KEYSDIR directory, did you use "--option extra-sandbox-paths /keys=..." ? error: builder for '/nix/store/vd325v1dk21w4v53kkvlai88ag7s7rk9-crosshatch-signed_target_files-2022041111.zip.drv' failed with exit code 1; 18:23:49
@gooberpatrol66:matrix.orggooberpatrol66Here is the config 18:24:29
@gooberpatrol66:matrix.orggooberpatrol66{ device = "crosshatch"; flavor = "lineageos"; variant = "user"; signing.enable = true; signing.keyStorePath = "/home/nathan/guix-configs/robotnix/keys"; apps.fdroid.enable = true; } 18:24:35
@gooberpatrol66:matrix.orggooberpatrol66the keys from generate_keys.sh are in that directory18:25:12
@gooberpatrol66:matrix.orggooberpatrol66Ideas what the problem is?18:25:30
@gooberpatrol66:matrix.orggooberpatrol66doing nix-build --option extra-sandboxpaths /keys="/home/nathan/guix-configs/robotnix/keys" doesn't help18:32:02
@gooberpatrol66:matrix.orggooberpatrol66*-paths18:32:27
@atemu12:matrix.orgatemu12 gooberpatrol66: Is your user allowed to do add extra sandbox paths? 19:25:33
@gooberpatrol66:matrix.orggooberpatrol66
In reply to @atemu12:matrix.org
gooberpatrol66: Is your user allowed to do add extra sandbox paths?
yeah, that was the problem, thanks
21:13:57
@gooberpatrol66:matrix.orggooberpatrol66I'm getting this now21:14:10
@gooberpatrol66:matrix.orggooberpatrol66nix-build --option extra-sandbox-paths /keys="/home/nathan/guix-configs/robotnix/keys" --arg configuration ~/guix-configs/robotnix/crosshatch.nix -A ota these 2 derivations will be built: /nix/store/vd325v1dk21w4v53kkvlai88ag7s7rk9-crosshatch-signed_target_files-2022041111.zip.drv /nix/store/jhmczwpjhhzwdxfra7fvssqfkiqqdjpx-crosshatch-ota_update-2022041111.zip.drv building '/nix/store/vd325v1dk21w4v53kkvlai88ag7s7rk9-crosshatch-signed_target_files-2022041111.zip.drv'... cp: /dev/shm/robotnix_keys.XXXXUZia63/chromium.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/chromiumwebview.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/com.android.connectivity.resources.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/com.android.hotspot2.osulogin.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/com.android.wifi.resources.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/crosshatch/releasekey.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/crosshatch/platform.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/crosshatch/shared.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/crosshatch/media.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/crosshatch/networkstack.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/crosshatch/avb.pem: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/dre/releasekey.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/dre/platform.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/dre/shared.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/dre/media.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/dre/networkstack.pk8: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/dre/avb.pem: Permission denied cp: /dev/shm/robotnix_keys.XXXXUZia63/f-droid.pk8: Permission denied 21:14:15
@atemu12:matrix.orgatemu12 gooberpatrol66: nixbld group needs access 21:14:51
@gooberpatrol66:matrix.orggooberpatrol66
In reply to @atemu12:matrix.org
gooberpatrol66: nixbld group needs access
how do i do that, is that set in nix.conf?
21:15:25
@atemu12:matrix.orgatemu12 gooberpatrol66: No, the files themselves must be accessible to users belongizg to nixbld 21:24:00
@atemu12:matrix.orgatemu12* gooberpatrol66: No, the files themselves must be accessible to users belonging to nixbld21:24:09
@atemu12:matrix.orgatemu12As in, UNIX access permissions21:24:35
@gooberpatrol66:matrix.orggooberpatrol66
In reply to @atemu12:matrix.org
gooberpatrol66: No, the files themselves must be accessible to users belonging to nixbld
my user is in nixbld group, tried chowning the keys to nathan:nathan and nathan:nixbld, same error
21:32:46
@gooberpatrol66:matrix.orggooberpatrol66tried sysctl fs.protected_regular=0 but didn't help21:38:16
1 May 2023
@therivercass:matrix.orgsilent_waterthe directory needs to be listable (g+x) and the directory + files need a chgrp -R nixbld13:02:39
@therivercass:matrix.orgsilent_waterare resource overlays working for people? my updater app doesn't seem to be picking up the URL I configured.14:45:02
2 May 2023
@therivercass:matrix.orgsilent_waternvm got it working with a few updates that I'll push soon (validating the new grapheneos release first)17:07:49

Show newer messages


Back to Room ListRoom Version: 6