Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > ddef7a8401ea85f937e3ee1065123cb1 > files > 1

debootstrap-1.0.25-1.fc13.src.rpm

diff -u -uNPrp debootstrap/Makefile debootstrap.new/Makefile
--- debootstrap/Makefile	2010-09-26 19:14:28.000000000 +0200
+++ debootstrap.new/Makefile	2010-10-25 15:59:20.151248078 +0200
@@ -27,7 +27,9 @@ devices.tar.gz:
 	mkdir -p dev
 	chown 0:0 dev
 	chmod 755 dev
-	(cd dev && $(MAKEDEV) std ptmx fd consoleonly)
+	$(MAKEDEV) -d dev std ptmx fd
+	$(MAKEDEV) -d dev -x console
+	mknod dev/console c 5 1
 	tar cf - dev | gzip -9 >devices.tar.gz
 	@if [ "$$(tar tvf devices.tar.gz | wc -l)" -lt 2 ]; then \
 		echo " ** devices.tar.gz is empty!" >&2; \