1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 13:29:43 +01:00
Commit graph

8 commits

Author SHA1 Message Date
Ivan Petkov
320866b985
raspberry-pi/4/dtmerge: fix application of overlays
Previously whenever an overlay was found to be incompatible with a base
device tree blob, the entire base dtb would be skipped in favor of
processing the next one. This had the unfortunate effect where overlays
would not fully be applied if any incompatibility was found. For
example, this is an issue with build device trees specific for one
flavor of raspberry pi if the overlay was not compatible _everywhere_.

The solution is to forego the `continue` keyword if an overlay is in
compatible and instead use a compound conditional statement to skip
incompatible overlays but continue trying to apply it to any remaining
dtbs.
2023-01-16 19:57:10 -08:00
Jörg Thalheim
03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Karolis Stasaitis
93b1cdbb77 raspberry-pi/4: dtmerge update
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2022-12-21 14:27:48 +02:00
Karolis Stasaitis
f217e0c09a use dtmerge from nativeBuildInputs 2022-08-08 19:07:05 +02:00
Karolis Stasaitis
bfc438a275 misplaced semicolon 2022-08-08 19:06:06 +02:00
Karolis Stasaitis
3f0991b531 export a single function from apply-overlays-dtmerge 2022-08-08 18:41:30 +02:00
Karolis Stasaitis
245d8f9f97
apply review suggestions from @06kellyjac
Co-authored-by: j-k <dev@j-k.io>
2022-08-08 18:27:49 +02:00
Karolis Stasaitis
128dad1c8d raspberry-pi-4: add poe-plus-hat, update poe-hat, use dtmerge instead of ftoverlay 2022-08-07 13:40:17 +02:00