Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 6078f01969e8
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: dda74d9e50db
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 28, 2018

  1. nixos/qemu-vm: Always add a virtio RNG device to the quest

    mke2fs has this annoying property that it uses getrandom() to get random
    numbers (for whatever purposes) which blocks until the kernel's secure
    RNG has sufficient entropy, which it usually doesn't in the early boot
    (except if your CPU supports RDRAND) where we may need to create the
    root disk.
    
    So let's give the VM a virtio RNG to avoid the boot getting stuck at
    mke2fs.
    dezgeg committed Apr 28, 2018
    Copy the full SHA
    dda74d9 View commit details
    Browse the repository at this point in the history