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: bdd98ff3e247
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 7fc788620336
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 18, 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.
    
    (cherry picked from commit dda74d9)
    dezgeg committed Aug 18, 2018
    1 Configuration menu
    Copy the full SHA
    7fc7886 View commit details
    Browse the repository at this point in the history