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:
parent
2d4fdc1b9e
commit
0d27df280f
2 changed files with 1 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue