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:
parent
571bcb64a4
commit
a545aca3b2
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
BIN
dev.tar.bz2
BIN
dev.tar.bz2
Binary file not shown.
Loading…
Reference in New Issue