2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-12-18 01:01:30 +00:00
xcat-dep/debootstrap/debootstrap-1.0.19-devices.patch

14 lines
440 B
Diff
Raw Normal View History

diff -ur debootstrap.orig/Makefile debootstrap/Makefile
--- debootstrap.orig/Makefile 2009-09-21 11:23:11.000000000 -0400
+++ debootstrap/Makefile 2009-09-30 15:01:01.899945579 -0400
@@ -40,6 +40,8 @@
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
rm -rf dev