| 6 Jan 2026 |
pentane | don't know how happy the GrapheneOS specific modifications to the non-device specific AOSP source code are gonna be about the lack of hardware features tho | 12:46:41 |
magic_rb | i tried to include the dirs a found in repo.lock which contain sm8250 or oplus or kebab in source.dirs | 12:48:58 |
magic_rb | but i am getting
evaluation warning: kebab is not a supported device for GrapheneOS
these 4 derivations will be built:
/nix/store/jf2dmxj1z536ij67g8x6vx36zl4a81zg-unpack.sh.drv
/nix/store/69yjhsmin24ii6zhm0wpi5a3f6zj5v8k-robotnix-kebab-2025102800.drv
/nix/store/dff0sgb54idf8nbybb3xysjhzkxjf12n-ota-tools.drv
/nix/store/m9h4vafkp3pva1l2w3pdn6hhqqv5hpjh-kebab-img-2025102800.zip.drv
building '/nix/store/jf2dmxj1z536ij67g8x6vx36zl4a81zg-unpack.sh.drv'...
building '/nix/store/69yjhsmin24ii6zhm0wpi5a3f6zj5v8k-robotnix-kebab-2025102800.drv'...
Running phase: unpackPhase
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: buildPhase
export BUILD_DATETIME=1761690609 BUILD_NUMBER=2025102800
In file included from build/make/core/config.mk:419:
In file included from build/make/core/envsetup.mk:351:
build/make/core/product_config.mk:226: error: Cannot locate config makefile for product "kebab".
12:45:30 dumpvars failed with: exit status 1
note: keeping build directory '/nix/var/nix/builds/nix-3798687-70607818/build'
| 12:49:17 |
magic_rb | but the makefile doesnt exist in the kept directory | 12:49:27 |
pentane | the LOS device-specific deps are tagged via the category attribute, you can use that one to filter them | 12:49:30 |
magic_rb | ah | 12:49:40 |
pentane | in particular, you wanna filter for all source dirs in the LOS repo.lock whose categories field contains { "DeviceSpecific": "<your device codename>" } | 12:50:25 |
pentane | Oh, and in LOS, the product names are all prefixed with aosp_ | 12:52:01 |
magic_rb | got me the same set as my filtering on the path approach :) | 12:52:05 |
magic_rb | but categories is less of a hack, thanks | 12:52:17 |
pentane | so you wanna set config.productNamePrefix = "aosp_"; such that lunch looks for the correct product makefile during the build | 12:52:33 |
magic_rb | build/make/core/product_config.mk:226: error: Cannot locate config makefile for product "aosp_kebab".
| 12:53:40 |
pentane | * so you wanna set productNamePrefix = "aosp_"; such that lunch looks for the correct product makefile during the build | 12:53:40 |
magic_rb | hmm | 12:53:41 |
pentane | Uhh | 12:54:05 |
pentane | My bad | 12:54:12 |
pentane | *lineage_ and not aosp_ | 12:54:23 |
magic_rb | beers on me at fosdem :) | 12:54:38 |
pentane | great :D | 12:54:49 |
pentane | thanks for reminding me btw, still need to book my accomodation | 12:55:00 |
magic_rb | please do | 12:55:06 |
magic_rb | would be a shame for you to not be there | 12:55:10 |
magic_rb | vendor/lineage/build/soong/generator/generator.go:219:46: undefined: android.PathForSourceRelaxed | 13:13:20 |
magic_rb | :( | 13:13:23 |
magic_rb | ah this is a lineageos specific function, ill have to port it over | 13:14:09 |
pentane | please do let me know if you succeed :) | 13:14:24 |
magic_rb | ofc i will | 13:15:11 |
magic_rb | im hoping to show you a graphene oneplus at fosdem :P | 13:15:21 |
magic_rb | or rope you into helping me | 13:15:24 |
magic_rb | pentane
error: frameworks/opt/net/wifi/libwifi_hal/Android.bp:155:1: "libwifi_hal_vendor_impl_defaults" depends on undefined module "libwifi-hal-qcom".
Module "libwifi_hal_vendor_impl_defaults" is defined in namespace "." which can read these 1 namespaces: ["."]
Module "libwifi-hal-qcom" can be found in these namespaces: ["hardware/qcom-caf/wlan" "hardware/qcom-caf/wlan/qcwcn" "hardware/qcom/wlan" "hardware/qcom/wlan/legacy" "hardware/qcom/wlan/wcn6740"]
O
any clue what this is about? im guessing i gotta pick the right implementation, but idk how | 14:43:34 |