mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
nixos/tests/virtualbox: remove mknod /dev/vda1 call
With devtmpfs introduced in 0d27df280f
it is
created automatically.
See https://github.com/NixOS/nixpkgs/pull/32983#issuecomment-353703083
This commit is contained in:
parent
eb12741c7a
commit
0543dc77b1
@ -109,9 +109,6 @@ let
|
||||
} ''
|
||||
${pkgs.parted}/sbin/parted --script /dev/vda mklabel msdos
|
||||
${pkgs.parted}/sbin/parted --script /dev/vda -- mkpart primary ext2 1M -1s
|
||||
. /sys/class/block/vda1/uevent
|
||||
mknod /dev/vda1 b $MAJOR $MINOR
|
||||
|
||||
${pkgs.e2fsprogs}/sbin/mkfs.ext4 /dev/vda1
|
||||
${pkgs.e2fsprogs}/sbin/tune2fs -c 0 -i 0 /dev/vda1
|
||||
mkdir /mnt
|
||||
|
Loading…
Reference in New Issue
Block a user