sd-image: remove implicit profiles/all-hardware#128532
sd-image: remove implicit profiles/all-hardware#128532arcnmx wants to merge 1 commit intoNixOS:masterfrom
Conversation
There was a problem hiding this comment.
Why is this added to this "alias-like" file?
There was a problem hiding this comment.
No good reason, it just felt bad to not limit the impact of this change.
To be fair for the most part it was... the fact that I had a config/closure, and only wanted to pull in the SD image generation options to build an image of the system. It felt rather presumptuous of it to set a bunch of options as if I wanted to generate some bloated "installer" image. It certainly was not my intention to create a system that could even remotely be described as "all-hardware" just because I wanted to place it on an SD card? ... but maybe that's my fault for trying to use a module under the "installer/" subdir and the real solution here is to move it to a different name/path without the same connotations? It's generically useful for a lot more than just building an installer image.
Hm so the modules were part of it, but so were the firmware options. It all generally made initrd way too large to fit in memory to boot with. |
|
I wonder if we ever use the I agree with the thought about the |
7d36109 to
9eeb28e
Compare
|
Hm there shouldn't have been conflicts but rebased just in case! |
9eeb28e to
9f4dbad
Compare
|
rebased again (this commit is basically just |
|
Looks good to me 👍 Unfortunately, I don't have the permissions to merge PRs in this repo. @samueldr, FYI |
Removes the implicit profiles/all-hardware from SD image generation.
|
Rebased again 😥 cc @samueldr |
Motivation for this change
Allows SD images to be created for systems not compatible with the all-hardware profile.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)