1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-28 12:39:45 +01:00
nixos-hardware/raspberry-pi
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
..
2 rpi2: unset nix.buildCores 2022-03-04 13:41:27 +01:00
4 raspberry-pi/4/dtmerge: fix application of overlays 2023-01-16 19:57:10 -08:00