0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

build-support/vm: Use devtmpfs, not static device nodes

In 2017, there is no reason to create a static /dev.
This commit is contained in:
Tuomas Tynkkynen 2017-12-06 20:28:43 +02:00
parent 2d4fdc1b9e
commit 0d27df280f
2 changed files with 1 additions and 23 deletions

View file

@ -150,8 +150,6 @@ in pkgs.vmTools.runInLinuxVM (
}
''
${if partitioned then ''
. /sys/class/block/vda1/uevent
mknod /dev/vda1 b $MAJOR $MINOR
rootDisk=/dev/vda1
'' else ''
rootDisk=/dev/vda