nixos/qemu-vm: fix diskless VMs#228047
Conversation
alyssais
left a comment
There was a problem hiding this comment.
This fixes my NixOS test that uses virtualisation.diskImage = null, thanks!
alyssais
left a comment
There was a problem hiding this comment.
Actually this appears to have broken other things. A NixOS test node with no options set now says "error: No device specified for mount point ‘/’.".
Previously, it was possible to run with a tmpfs / with `virtualisation.diskImage = null;`, this was likely broken by my changes in 4b4e4c3. It is reintroduced by disabling properly the bootloader for now, as it is complicated to make it work with.
67ef4bd to
be4e7ef
Compare
|
Running an evaluation here https://hydra.nixos.org/jobset/nixos/python-test-refactoring with merge-base. |
|
Evaluation shows no extra failures, beyond existing ones. |
|
This merge brought back some channel-blocking errors https://hydra.nixos.org/eval/1794619 (related to PR #229826) I hope that some of you understand why, or at least better than me. |
|
@RaitoBezarius: so, reverting for now? #230386 |
|
I can take a look to them tomorrow, but I am okay with revert if you prefer to unblock the channel now. |
|
OK, reverted for now. I'm trying to keep the lag of the channels short continuously, say under 48h for |
|
Result of 2 packages blacklisted:
2 packages built:
|
|
For reference, the problem is here: |
|
(double nix store mounts) |
Description of changes
Previously, it was possible to run with a tmpfs / with
virtualisation.diskImage = null;, this was likely broken by my changes in 4b4e4c3.It is reintroduced by disabling properly the bootloader for now, as it is complicated to make it work with.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)