Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/i386/floppies/ramdisk dhclient support added
details: https://anonhg.NetBSD.org/src/rev/f96d94c3a237
branches: trunk
changeset: 488126:f96d94c3a237
user: cyber <cyber%NetBSD.org@localhost>
date: Sun Jun 18 23:57:32 2000 +0000
description:
dhclient support added
diffstat:
distrib/i386/floppies/ramdisk/Makefile | 6 +++---
distrib/i386/floppies/ramdisk/list | 6 ++++--
distrib/i386/floppies/ramdisk/mtree.conf | 20 +++++++++++++++++++-
distrib/i386/floppies/ramdisk/ramdiskbin.conf | 5 ++++-
4 files changed, 30 insertions(+), 7 deletions(-)
diffs (118 lines):
diff -r edd0e299ad8b -r f96d94c3a237 distrib/i386/floppies/ramdisk/Makefile
--- a/distrib/i386/floppies/ramdisk/Makefile Sun Jun 18 23:53:32 2000 +0000
+++ b/distrib/i386/floppies/ramdisk/Makefile Sun Jun 18 23:57:32 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2000/06/07 22:15:31 marc Exp $
+# $NetBSD: Makefile,v 1.29 2000/06/18 23:57:32 cyber Exp $
TOP= ${.CURDIR}/..
WARNS=1
@@ -28,7 +28,7 @@
MTREE= mtree.conf
RAMDISKSPC= 128
-RAMDISKCYLS= 24
+RAMDISKCYLS= 32
RAMDISKSIZE!= expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
install.sh: install.tmpl
@@ -82,7 +82,7 @@
release:
clean cleandir distclean:
- /bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c
+ /bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c tmplabel
.include <bsd.own.mk>
.include <bsd.obj.mk>
diff -r edd0e299ad8b -r f96d94c3a237 distrib/i386/floppies/ramdisk/list
--- a/distrib/i386/floppies/ramdisk/list Sun Jun 18 23:53:32 2000 +0000
+++ b/distrib/i386/floppies/ramdisk/list Sun Jun 18 23:57:32 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: list,v 1.30 2000/06/14 17:20:56 thorpej Exp $
+# $NetBSD: list,v 1.31 2000/06/18 23:57:32 cyber Exp $
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/ramdiskbin ramdiskbin
@@ -25,6 +25,7 @@
LINK ramdiskbin bin/test
LINK ramdiskbin bin/[
LINK ramdiskbin sbin/cd9660
+LINK ramdiskbin sbin/dhclient
LINK ramdiskbin sbin/disklabel
LINK ramdiskbin sbin/fdisk
LINK ramdiskbin sbin/ffs
@@ -81,6 +82,7 @@
COPY ${CURDIR}/../../../../etc/protocols etc/protocols
COPY ${CURDIR}/../../../../etc/netconfig etc/netconfig
COPY ${CURDIR}/../../../../etc/services etc/services
+COPY ${CURDIR}/../../../../usr.sbin/dhcp/client/scripts/netbsd etc/dhclient-script
SPECIAL pwd_mkdb -p -d ./ etc/master.passwd
SPECIAL /bin/rm etc/spwd.db
@@ -88,7 +90,7 @@
# copy the MAKEDEV script and make some devices
COPY ${CURDIR}/../../../../etc/etc.i386/MAKEDEV dev/MAKEDEV
-SPECIAL cd dev; sh MAKEDEV ramdisk
+SPECIAL cd dev; sh MAKEDEV ramdisk bpf0 bpf1
SPECIAL /bin/rm dev/MAKEDEV
# we need the boot block in /usr/mdec + the MBR copy
diff -r edd0e299ad8b -r f96d94c3a237 distrib/i386/floppies/ramdisk/mtree.conf
--- a/distrib/i386/floppies/ramdisk/mtree.conf Sun Jun 18 23:53:32 2000 +0000
+++ b/distrib/i386/floppies/ramdisk/mtree.conf Sun Jun 18 23:57:32 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mtree.conf,v 1.2 1999/04/19 23:55:29 bouyer Exp $
+# $NetBSD: mtree.conf,v 1.3 2000/06/18 23:57:32 cyber Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@@ -80,3 +80,21 @@
# ./usr
..
+
+# ./var
+var
+# ./var/db
+db
+# ./var/db
+..
+# ./var
+run
+# ./var/run
+..
+# ./var/log
+log
+# ./var/log
+..
+# ./var
+..
+
diff -r edd0e299ad8b -r f96d94c3a237 distrib/i386/floppies/ramdisk/ramdiskbin.conf
--- a/distrib/i386/floppies/ramdisk/ramdiskbin.conf Sun Jun 18 23:53:32 2000 +0000
+++ b/distrib/i386/floppies/ramdisk/ramdiskbin.conf Sun Jun 18 23:57:32 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ramdiskbin.conf,v 1.24 2000/06/14 17:20:57 thorpej Exp $
+# $NetBSD: ramdiskbin.conf,v 1.25 2000/06/18 23:57:32 cyber Exp $
#
# ramdiskbin.conf - unified binary for the install ramdisk
#
@@ -15,6 +15,7 @@
progs sysinst pax
progs fdisk mbrlabel
progs ping6 rtsol
+progs dhclient
special sysinst srcdir distrib/utils/sysinst/arch/i386
special init srcdir distrib/utils/init_s
@@ -26,6 +27,8 @@
special sh srcdir distrib/utils/x_sh
special ping srcdir distrib/utils/x_ping
special ping6 srcdir distrib/utils/x_ping6
+special dhclient srcdir distrib/utils/x_dhclient
+special dhclient objs OMalloc.o clparse.o dns.o hash.o options.o socket.o OMdispatch.o conflex.o dst_api.o hmac_link.o packet.o support.o OMsupport.o connection.o errwarn.o inet.o parse.o tables.o
alloc.o convert.o ethernet.o listener.o prandom.o tree.o base64.o dhclient.o execute.o memory.o print.o bpf.o discover.o generic.o message.o protocol.o buffer.o dispatch.o handle.o comapi.o result.o
fddi.o
# "special" gzip is actually larger assuming nothing else uses -lz..
#special gzip srcdir distrib/utils/x_gzip
Home |
Main Index |
Thread Index |
Old Index