Add dhclient to the shark's installation disk image so that we can configure

network interfaces through DHCP in sysinst.
This commit is contained in:
jmmv 2007-07-29 13:59:38 +00:00
parent 10b11b97b0
commit 1887d3d26e
3 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2007/05/10 23:22:32 dogcow Exp $
# $NetBSD: Makefile,v 1.12 2007/07/29 13:59:39 jmmv Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@ -14,13 +14,14 @@ CRUNCHBIN= ramdiskbin
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN= le
MAKEDEVTARGETS= ramdisk
MAKEDEVTARGETS= ramdisk bpf
IMAGEDEPENDS= ${CRUNCHBIN} \
disktab.preinstall dot.hdprofile dot.profile \
${DESTDIR}/usr/share/misc/termcap \
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
${NETBSDSRCDIR}/distrib/common/services
${NETBSDSRCDIR}/distrib/common/services \
${NETBSDSRCDIR}/usr.sbin/dhcp/clientscript/dhclient-script
# Use stubs to eliminate some large stuff from libc
HACKSRC= ${DISTRIBDIR}/utils/libhack

View File

@ -1,4 +1,4 @@
# $NetBSD: list,v 1.8 2007/05/10 23:22:32 dogcow Exp $
# $NetBSD: list,v 1.9 2007/07/29 13:59:39 jmmv Exp $
SRCDIRS bin sbin usr.bin/less usr.bin usr.sbin gnu/usr.bin
@ -20,6 +20,7 @@ PROG bin/stty
PROG bin/sync
PROG sbin/disklabel
PROG sbin/dhclient
PROG sbin/fsck
PROG sbin/fsck_ffs
PROG sbin/ifconfig
@ -55,7 +56,8 @@ PROG usr/sbin/dev_mkdb
# init invokes the shell as -sh
ARGVLN sh -sh
SPECIAL ping srcdir distrib/utils/x_ping
SPECIAL dhclient srcdir distrib/utils/x_dhclient
SPECIAL ping srcdir distrib/utils/x_ping
LIBS libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm -lz
@ -68,6 +70,7 @@ COPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd
COPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig
COPY ${NETBSDSRCDIR}/etc/protocols etc/protocols
COPY ${NETBSDSRCDIR}/distrib/common/services etc/services
COPY ${NETBSDSRCDIR}/usr.sbin/dhcp/clientscript/dhclient-script sbin/dhclient-script 555
# and the common installation tools
COPY ${DESTDIR}/usr/share/misc/termcap usr/share/misc/termcap

View File

@ -1,4 +1,4 @@
LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.894 $>
LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.895 $>
[Note: This file does not mention every change made to the NetBSD source tree.
@ -173,3 +173,5 @@ Changes from NetBSD 4.0 to NetBSD 5.0:
mpt(4): Add support for newer SAS and similar devices. [tron 20070727]
ichsmb(4): Add support for Intel ICH SMBus controller.
[kiyohara 20070728]
shark: Add dhclient(8) to the install disk image to be able to
configure network interfaces through DHCP. [jmmv 20070729]