dhcpcd support in sysinst

Izumi Tsutsui <[email protected]> Sun, 4 Nov 2012 15:35:08 +0900
Newsgroups gmane.os.netbsd.ports.x68k
Message-ID <[email protected]>
Hi,

Currently x68k sysinst in install floppies doesn't include DHCP support.
The attached patch adds it, but it requires a bit larger ramdisk size.

I think nowadays DHCP is almost mandatory (especially for XM6i users)
and there is few possbile users who will try NetBSD/x68k on 4MB machines.

Any comments/objections?


Index: distrib/x68k/floppies/ramdisk/Makefile
===================================================================
RCS file: /cvsroot/src/distrib/x68k/floppies/ramdisk/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- distrib/x68k/floppies/ramdisk/Makefile	11 Feb 2010 09:06:51 -0000	1.40
+++ distrib/x68k/floppies/ramdisk/Makefile	4 Nov 2012 04:37:07 -0000
@@ -4,7 +4,7 @@
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
 
 IMAGE=			inst.fs
-IMAGESIZE=		1400k
+IMAGESIZE=		1440k
 # `floppy-root' cannot be used now, due to size issue.
 #IMAGE_RELEASEDIR=	installation/floppy
 
@@ -35,6 +35,7 @@ HACKSRC=	${DISTRIBDIR}/utils/libhack
 .include	"${HACKSRC}/Makefile.inc"
 ${CRUNCHBIN}:	libhack.o
 
+.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
 .include "${DISTRIBDIR}/common/Makefile.crunch"
 .include "${DISTRIBDIR}/common/Makefile.makedev"
 .include "${DISTRIBDIR}/common/Makefile.image"
Index: sys/arch/x68k/conf/INSTALL
===================================================================
RCS file: /cvsroot/src/sys/arch/x68k/conf/INSTALL,v
retrieving revision 1.95
diff -u -p -r1.95 INSTALL
--- sys/arch/x68k/conf/INSTALL	29 Apr 2012 07:17:11 -0000	1.95
+++ sys/arch/x68k/conf/INSTALL	4 Nov 2012 04:37:07 -0000
@@ -18,7 +18,7 @@ maxusers	4
 options 	MEMORY_DISK_HOOKS
 options 	MEMORY_DISK_IS_ROOT	# Force root on memory-disk
 options 	MEMORY_DISK_SERVER=0	# No user space hooks
-options 	MEMORY_DISK_ROOT_SIZE=2800
+options 	MEMORY_DISK_ROOT_SIZE=2880
 options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
 
 ## System kernel configuration.  See options(4) for more detail.
@@ -277,5 +277,6 @@ ne*	at neptune? addr 0x300			# NE2000 or
 
 pseudo-device	md			# boot floppy image
 pseudo-device	loop
+pseudo-device	bpfilter
 pseudo-device	sl		
 pseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)


---
Izumi Tsutsui