UDEV=NO: Don't delete and then re-create dev nodes that are in the tarball.

Also create more virtio disk nodes
This commit is contained in:
Albert Hopkins 2011-06-25 21:48:16 -04:00
parent 571bcb64a4
commit a545aca3b2
2 changed files with 0 additions and 5 deletions

View File

@ -282,11 +282,6 @@ ifneq ($(EXTERNAL_KERNEL),YES)
endif endif
ifeq ($(UDEV),NO) ifeq ($(UDEV),NO)
tar jxf dev.tar.bz2 -C loop/dev tar jxf dev.tar.bz2 -C loop/dev
rm -f loop/dev/vda*
/bin/mknod loop/dev/vda b 254 0
/bin/mknod loop/dev/vda1 b 254 1
/bin/mknod loop/dev/vda2 b 254 2
chown root:disk loop/dev/vda*
rm -f loop/etc/runlevels/sysinit/udev rm -f loop/etc/runlevels/sysinit/udev
endif endif
umount gentoo umount gentoo

Binary file not shown.