| 4 Jan 2023 |
hdzki ⚡️ | but i have yet to fix the vendors stuff | 15:59:19 |
hdzki ⚡️ | Like you said, it seems like the generic branches don't have lineage-20 yet | 15:59:36 |
hdzki ⚡️ | so each device has it's own branch as mentioned here | 16:00:10 |
hdzki ⚡️ | Looks like i'll have to read in the info manually from it | 16:04:27 |
atemu12 | hdzki ⚡️: Does yours have one yet? | 16:58:28 |
atemu12 | How do we determine which vendor dir to use right now? | 16:58:39 |
hdzki ⚡️ | all lineage-20 devices seem to have different vendor repos | 17:04:58 |
hdzki ⚡️ | In reply to@atemu12:matrix.org How do we determine which vendor dir to use right now? [See this file](https://github.com/TheMuppets/manifests/blob/lineage-20.0/muppets.xml | 17:05:15 |
hdzki ⚡️ | In reply to@atemu12:matrix.org How do we determine which vendor dir to use right now? * [See this file | 17:05:21 |
hdzki ⚡️ | Look at how every oneplus device has its own repo | 17:05:46 |
atemu12 | hdzki ⚡️: Does your device have one yet? | 17:05:35 |
hdzki ⚡️ | including the generic ones such as proprietary_vendor_oneplus_sm8150-common | 17:06:00 |
hdzki ⚡️ | In reply to@atemu12:matrix.org hdzki ⚡️: Does your device have one yet? I literally just said no before 😂 | 17:07:04 |
hdzki ⚡️ | In reply to@hdzki:hdzki.kozow.com all lineage-20 devices seem to have different vendor repos here | 17:07:08 |
hdzki ⚡️ | Furthermore, none of the common repos have the lineage-20 tag to begin with | 17:07:34 |
hdzki ⚡️ | so you're forced to use the device specific repo it seems | 17:07:44 |
hdzki ⚡️ | In reply to@atemu12:matrix.org hdzki ⚡️: Does your device have one yet? * I literally just said it doesn't beforehand 😂 | 17:07:56 |
atemu12 | hdzki ⚡️: I understand. Does your specific device have LOS20 support with a device-specific repo? | 17:07:58 |
hdzki ⚡️ | In reply to@atemu12:matrix.org hdzki ⚡️: I understand. Does your specific device have LOS20 support with a device-specific repo? yes | 17:08:03 |
hdzki ⚡️ | guacamole is listed as lineage-20 supported on LOS wiki | 17:08:24 |
hdzki ⚡️ | and it has it's own repo | 17:09:48 |
hdzki ⚡️ | * and it has it's own repo, proprietary_vendor_oneplus_guacamole | 17:10:00 |
hdzki ⚡️ | * guacamole is listed as being on lineage-20 on the LOS wiki | 17:10:27 |
hdzki ⚡️ | Here's the wiki entry and the repo in question with its soc repo as well | 17:14:00 |
hdzki ⚡️ | * Here's the wiki entry and the repo in question with its soc repo as well | 17:14:15 |
hdzki ⚡️ | the device has an official lineage-20 build available for download | 17:15:59 |
hdzki ⚡️ | Anyways, after managing to get some vendor-dirs.json out. Trying to actually build the lineage-20 image fails cause it can't find vendor/oneplus which is expected | 17:17:06 |
hdzki ⚡️ | I guess this means I have to patch the metadata.json itself | 17:17:25 |
hdzki ⚡️ | Ok, so patching lineageos/default.nix to use vendor/${vendor}/${config.device} instead vendor/${vendor} fixes the issue | 17:20:05 |
hdzki ⚡️ | Now it's erroring out on patches
```
error: builder for '/nix/store/k7468h3jlzs671b4l1ppksj9rq4si676-build=make-patched.drv' failed with exit code 4;
last 1 log lines:
> sed: no input files
For full logs, run 'nix log /nix/store/k7468h3jlzs671b4l1ppksj9rq4si676-build=make-patched.drv'.
error: builder for '/nix/store/cplmqiw4wpny3m30906ydiic7fqlma1f-system=extras-patched.drv' failed with exit code 1;
last 10 log lines:
> The text leading up to this was:
> --------------------------
> |reverted:
> |--- b/ext4_utils/mkuserimg_mke2fs.py
> |+++ a/ext4_utils/mkuserimg_mke2fs.py
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 2 out of 2 hunks ignored
For full logs, run 'nix log /nix/store/cplmqiw4wpny3m30906ydiic7fqlma1f-system=extras-patched.drv'.
error: 1 dependencies of derivation '/nix/store/28nvbr8p7r5vz6gj2xgyy665f80p64da-guacamole-img-2023010414.zip.drv' failed to build
``` | 17:20:42 |