nixos/sd-image: Increase default firmware partition size#66850
nixos/sd-image: Increase default firmware partition size#66850samueldr merged 1 commit intoNixOS:masterfrom
Conversation
|
I have no idea with regards to your question, but it probably makes sense here to just increase the firmware partition size (it's only going to get larger, most likely) - especially as it's such a small increase. |
|
Ah, OK. I was mostly wondering about the glob that gets included in the image, which went from matching... to I have little to no idea what those files mean in this context. :-) |
|
The reason it was reduced that much is that it is now a raspberry-pi specific firmware partition. Meaning that we could slim it as much as we needed. There shouldn't be any issues in increasing it as much as needed to fit the firmware partition. |
This is an additional idea, which can be done later, is to filter the non-64 bit files from the aarch64 build, e.g. the rpi1 specific files. The raspberry pi 2 files could be removed, if the 64 bit variant of the raspberry pi 2 doesn't use them when booted in 64 bit mode. |
#63835 increased the size of the files globbed for inclusion in the aarch64 sd image substantially, making the fw partition too small. It may be possible to actually reduce the number of files included instead, but I don't have a system relevant for testing. Maybe @luaduck knows?
The size here is more or less guesswork based on the size of the globbed files and uboot.bin
@samueldr you were the last to reduce the size here, do you think this bump will be problematic?
This should get nixos-unstable building again.
Motivation for this change
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)Notify maintainers
cc @