he
686c73fd73
Um, as has been noted, INSTALL_FILE records what's installed if it's
...
done unprived, and that doesn't go down well on a re-build. So use
${INSTALL} ${COPY} instead to fix this problem.
2010-04-23 14:10:19 +00:00
he
91dbb8c445
Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
...
target is made un-writeable, the build won't bomb out during an
UPDATE build. OK'ed by martin@.
2010-04-22 11:58:59 +00:00
martin
dd15332205
Ooops, do not try to create a symlink in a not-yet existing directory
2010-04-18 16:10:03 +00:00
martin
07b122db7c
Change the install CD to go to full multiuser mode. This clearly
...
separates the setup done by /etc/rc once, and the repeated stuff
(install.sh invoking sysinst).
2010-04-18 12:58:57 +00:00
martin
b4deff4fda
Cherry-pick the /libexec content for (non miniroot) CDs and add the sysinst
...
specific dhcpcd hook scripts
2010-04-04 23:02:23 +00:00
martin
8299a0b61d
Remove bogus workaround hiding a real bug: /tmp/dhcpcd-lease should be
...
created by the sysinst specific dhcpcd hook
2010-04-04 22:56:44 +00:00
martin
2866ed0d7d
Ooops, remove leftovers from the ramdisk /
2010-04-02 21:58:46 +00:00
martin
411ff5dead
Move install CDs over to / on cd9660 (instead of a memory disk image)
2010-04-02 21:29:30 +00:00
martin
9034c8a049
Simplify the console type check by passing -nx to sysctl. Pointed out
...
by Alan Barrett.
2010-03-13 14:05:39 +00:00
martin
e19ffe5ce4
Provide full terminfo.db on install media
2010-03-12 23:07:13 +00:00
martin
e4ef8b1dd7
Use sysctl kern.consdev to check wether we use ttyE* as console - in that
...
case just set up TERM as needed and go straight to sysinst. Otherwise
give a slightly verbose explanation (with common sample values) and
ask for TERM before running sysinst.
2010-03-12 21:36:52 +00:00
mrg
ed186a47bf
bump the size of the boot.fs, we bloated.
2010-03-02 08:05:48 +00:00
martin
d41883434c
add mount_tmpfs
2010-02-17 16:15:15 +00:00
roy
0adc6cef21
Remove terminfo.db as it's now embedded in libterminfo.
2010-02-11 09:06:47 +00:00
roy
bb3a353864
Use the rescue terminfo.db in our images instead of termcap.
2010-02-05 10:01:16 +00:00
he
3bb1e78986
Bump the miniroot size from 8m to 9m, so that the contents fits again.
...
OK'ed by mrg@
2010-01-05 18:36:16 +00:00
abs
2108b54359
34 different termcap subsets, plus a couple of ports still using
...
the full termcap distfile. In an attempt to reduce the madness
switch everyone (except the i386 cd install which does its own
thing) to the same (under 8K) termcap subset:
ansi ansi/pc-term compatible with color
dumb|unknown 80-column dumb tty
hp300h HP Catseye console
iris-ansi-ap IRIS ANSI in application-keypad mode
iris-ansi|iris-ansi-net IRIS emulating 40 line ANSI terminal (almost VT100)
sun|sun1|sun2|sun-il Sun Microsystems Inc. console with working insert-line
vt100|vt100-am DEC VT100 (w/advanced video)
vt220-8 DEC VT220 8 bit terminal
vt220|vt200|vt300 DEC VT220 in vt100 emulation mode
wsvt25 NetBSD wscons in 25 line DEC VT220 mode
wsvt25m NetBSD wscons in 25 line DEC VT220 mode with Meta
x68k|x68k-ite NetBSD/x68k ITE
xterm|vs100 xterm terminal emulator (X Window System)
Trying to provide similar functionality across all ports? It'll never
catch on...
2009-09-20 23:19:50 +00:00
abs
bdf4da2bba
Nothing needs disktab anymore, so we'd rather have an inode and
...
slightly over 1K of space on install media...
2009-09-20 22:46:10 +00:00
abs
6f653b39ef
${NETBSDSRCDIR}/distrib/common/protocols => ${DISTRIBDIR}/common/protocols
...
${NETBSDSRCDIR}/distrib/common/services => ${DISTRIBDIR}/common/services
2009-09-20 19:49:07 +00:00
abs
7fb2fc21e2
Of the arious list files 28 said
...
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
while 14 picked
PROG usr/bin/gzip usr/bin/gunzip usr/bin/gzcat
Make them all choose the former. No functional change.
2009-09-18 10:49:08 +00:00
tsutsui
1bdd710904
Fix indent on common/protocols changes.
2009-04-29 18:20:00 +00:00
joerg
4764c235e5
Change ramdisks from dhclient to dhcpcd and add corresponding glue to
...
sysinst. For amd64, the crunchgen binary shrinks by 150KB uncompresssed,
60KB compressed.
2009-04-07 11:49:16 +00:00
perry
58e0c54cf3
Consistently use gzip with the -n flag so dates are not embedded.
...
Not tested on all platforms.
2009-04-03 22:36:34 +00:00
abs
7a3d39395e
Use the cutdown distrib/common/services and distrib/common/protocols
...
rather than the full fat etc versions
2009-01-25 22:08:37 +00:00
dyoung
fdf6250eac
Add -lprop to the LIBS line so that ifconfig will link.
2008-05-06 15:32:06 +00:00
dogcow
c1583b0d2c
Since /etc/services has gotten rather large, use a minimal one for install
...
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
2007-05-10 23:22:27 +00:00
bouyer
fee07bcfd4
Add an iso_image target (iso-image as a target name doesn't play well with
...
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.
call iso_image in distrib/ for iso-image in the top Makefile.
2007-03-06 21:56:47 +00:00
martin
2d95ef4c0f
Remove CRUNCHGEN_FLAGS, probably left over from a previous hack to work
...
around bugs in an older compiler. Nowadays the default -Os works fine.
2006-11-22 20:54:16 +00:00
jmmv
2947e73b43
Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
...
the root file system on a LFS volume.
Addresses PR bin/30407. No objections in tech-userlevel@.
2006-11-11 14:47:27 +00:00
martin
5cefff4513
It is "MAKEDEV bpf" nowadays
2006-08-18 21:44:53 +00:00
he
1c9b35c668
Bump boot file system size from 4 to 5MB.
2006-06-08 08:40:39 +00:00
he
d3122fbee2
Bump the miniroot size from 7MB to 8MB so that it fits again.
2006-05-09 19:10:43 +00:00
jmc
a09b96a58f
Don't remove sysinst via CLEANFILES. It's a directory..Provide a new clean rule
...
for it
2004-07-02 03:11:26 +00:00
hannken
ddf6ca10ff
Do not fail if directory sysinst exists. Makes update builds work again.
2004-05-24 18:17:45 +00:00
dsl
e5195da719
Copy the sysinst message files into the correct objdir at the same time
...
as copying the crunched program binary.
Fixes PR sparc64/25265
2004-04-21 21:19:51 +00:00
wiz
3f9411f688
Spell removable with only two es. Inspired by jmc@openbsd.
2004-04-19 12:44:09 +00:00
mrg
e8e95bb6e1
add /sbin/raidctl.
2004-01-14 01:52:59 +00:00
martin
0194fe0df2
Add missing fsck_lfs. While there add -lz to LIBS, which is needed with
...
the new gzip.
Noticed (and patch provided) by John Heasley.
2003-12-25 11:11:25 +00:00
martin
2a5182090a
Now that -Os is save again, use it.
2003-09-19 16:28:14 +00:00
salo
8d1781e39d
netbsd.org->NetBSD.org
2003-07-26 17:06:22 +00:00
lukem
001c68bd94
Rename a large chunk of the make(1) variables which refer to a
...
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
lukem
2fef6e7fc1
fix a bogus comment...
2003-03-07 09:49:34 +00:00
lukem
c7ad6e6337
Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX".
2002-11-18 12:39:43 +00:00
lukem
ea0637c5af
Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
...
we don't need distrib/utils/x_ftp anymore...
2002-10-17 06:38:15 +00:00
martin
73d617f74e
Add sun-type4 termcap entry and print a hint to change TERM to this
...
if using a Type 4 keyboard.
2002-10-08 20:26:38 +00:00
martin
3371592c77
Do not use -Os when compiling small programs for the miniroot or
...
install kernel ramdisk image. It triggers some toolchain bug and
causes for example ifconfig to not display inet addresses.
2002-10-04 21:23:06 +00:00
lukem
7940b7815e
We can't rely upon ${OBJDIR}/../instfs getting to the ../instfs objdir;
...
add ${RAMDISKDIR} to PARSELISTENV and use that instead.
Noted by Todd Kover <kovert@omniscient.com> in [port-sparc64/17196]
2002-06-09 04:28:58 +00:00
lukem
0707a91ae6
fix problems noted by Love <lha@stacken.kth.se> on current-users@ :
...
- add bpf0 to MAKEDEVTARGETS
- set dhclient-script and binstall perms to 555
2002-06-01 16:36:09 +00:00
eeh
44c6c3f7d0
Add bootfs to the build list.
2002-05-20 21:50:45 +00:00
eeh
4062a708d3
Add bootfs for cdrom booting.
2002-05-20 21:50:10 +00:00
lukem
094e12e661
consistently use "${INSTALLBOOT} -v ..."
2002-05-14 06:21:20 +00:00
lukem
55f953bfa3
fix size of images
...
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
2002-05-08 23:11:56 +00:00
lukem
67331f09d5
improve how gzipping is done to reduce amount of temp files, etc.
2002-05-08 07:57:09 +00:00
lukem
3f26d4dd33
remove comments left over from my NDWO conversion
2002-05-08 07:48:39 +00:00
lukem
c924434885
this needs to be ${INSTALLBOOT}ed
2002-05-07 14:44:06 +00:00
lukem
875330dd7f
major overhaul; convert to NDWO.
...
this needs to build two images and one gzipped tar file:
- install.fs: to mdset into netbsd.INSTALL
- inst.tgz: contents of install.fs
- miniroot.fs: install.fs + gzipped GENERIC kernel. created using a
copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
2002-05-07 14:41:36 +00:00
lukem
ed8e534c7e
yet another distrib overhaul:
...
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
(fixes problem caused by implicit include of ../Makefile.inc in certain
submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*; rely upon "snap_pre" target of
etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
lukem
e5ef62ef2b
- add specific special entry for sys/arch/${MACHINE}/stand/installboot
...
for ports that don't yet use the MI usr.sbin/installboot
- remove now-unnecessary srcdir for sys/arch/${MACHINE}/stand
2002-04-09 00:31:38 +00:00
rafal
d823959dee
Fix build; don't reference ${DISTRIBDIR} when it hasn't been defined; instead
...
define HACKSRC via ${SRCROOT}/distrib/utils/libhack
2002-03-28 14:47:10 +00:00
lukem
484f8db2eb
- Be consistent how libhack is used: If extra HACKOBJS (e.g., gethost.o) are
...
required, define them before pulling in libhack/Makefile.inc so that the
dependencies work correctly.
- Other minor cleanups
2002-03-28 04:33:21 +00:00
lukem
25c4cc30b2
Disable libhack's gethost.o (replacement gethostby{name,addr}()) by default,
...
as they only support reading /etc/hosts, and its the "least useful" of
the libhack routines. Add gethost.o back to Really Small media which
appears to need the space savings.
2002-03-25 07:43:39 +00:00
lukem
33b72e78ec
use check_RELEASEDIR
2002-03-25 01:58:57 +00:00
thorpej
1d1d02da94
Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used.
2002-03-05 21:23:28 +00:00
thorpej
0d1f6a757d
Use ${PRINTOBJDIR}.
2002-03-05 21:16:51 +00:00
mrg
2101858f52
- don't put a copy of GENERIC in the netbsd.INSTALL kernel's embedded
...
filesystem's as /netbsd...
- reduce INSTALL size by 2.5MB.
- clean up list.m4
2002-01-21 13:46:26 +00:00
mrg
61d679b8c1
convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
...
cleans up a lot of the processing here.
XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd. fix this shortly.
2002-01-20 05:57:10 +00:00
mrg
c8166f989e
update the location of the client script.
2002-01-05 07:42:10 +00:00
mrg
73824b4903
link /sbin/disklabel, and copy dhclient-script in as well (dhclient was already included, just not available)
2002-01-01 08:01:58 +00:00
mason
131d9bffea
vnconfig called incorrectly - it wants either a simple "vnd0" or a full path
...
to a raw device, not a full path to a cooked device.
2001-12-28 16:34:50 +00:00
mason
a3f1ae9c61
vnconfig called incorrectly, breaks build
2001-12-26 15:18:24 +00:00
jmc
c15d918f56
Add bsd.prog.mk for libhack components
2001-12-04 18:14:20 +00:00
jmc
4d6ad24166
Convert to using ${MDSETIMAGE}.
...
Provide a default value for $MDSETIMAGE and pull in bsd.own.mk to have
it overriden as needed for cross/-current builds.
2001-10-21 23:23:19 +00:00
jmc
a37907dc27
Add MTREE?= to add Makefiles and use when running mtree
2001-10-13 06:15:15 +00:00
enami
652855a0c7
Use symbol MTREECONF instead of MTREE to refer configuration file
...
to avoid conflicts. Pointed out by chs@netbsd.org .
2001-10-10 05:13:51 +00:00
mrg
b82078b80d
netbsd.INSTALL.gz is already install; back out part of previous.
2001-08-23 17:19:49 +00:00
eeh
11f0349df1
Install INSTALL kernel.
2001-08-23 17:14:40 +00:00
mrg
f32a062ce6
install the netbsd.INSTALL kernel into the release area as well.
2001-08-23 16:59:33 +00:00
mrg
d8ebb0682c
build an "instfs" which can be untarred for complete netboot installs.
2001-08-23 15:50:09 +00:00
eeh
f247756193
Add Makefile.inc.
2001-07-23 14:54:25 +00:00
eeh
ceea8c87d3
Make the size of the miniroot more easily tuneable and install it in a kernel.
2001-07-21 06:01:03 +00:00
mrg
1ab6aa7287
s/ramdisk/xminiroot/
2001-01-07 09:31:17 +00:00
mrg
ca68673e36
rename sparc64 "ramdisk" to "xminiroot" to avoid confusion about what it actually does.
2001-01-07 09:30:12 +00:00
mrg
d1864bacf3
that's /etc/netconfig not /etc/nteconfig.
2000-11-16 23:32:00 +00:00
mrg
3f648dea6e
add /usr/share/zoneinfo to the ramdisk, to enable support for setting the
...
zoneinfo inside sysinst.
2000-11-16 13:04:21 +00:00
eeh
da647512af
Add /etc/netconfig.
2000-11-13 23:08:41 +00:00
garbled
83f61a5891
Change all ocurrences of "crunchgen" to ${CRUNCHGEN}
2000-11-01 07:57:55 +00:00
garbled
1f3a06f4fd
Find a bunch of places where we call "make" and replace it with ${MAKE}
2000-10-26 04:53:56 +00:00
mrg
cc8bba3950
add "make release" support
2000-08-20 14:46:03 +00:00
mrg
885498ebaa
fix sparc64 support.
2000-08-20 14:43:19 +00:00
mrg
0e05e02e18
make work on sparc64. use LINK everywhere
2000-08-19 13:33:01 +00:00
mrg
f90a1ea9d6
handle the case where we boot from a real root, too.
2000-08-19 13:23:27 +00:00
mrg
326aa2d78a
correct ramdisk size. sparc64 is big-endian.
2000-08-19 13:17:38 +00:00
mrg
1473c2ecc9
first cut sysinst installer.
2000-08-10 14:38:51 +00:00
mrg
84cb48f20c
remove incomplete miniroot configuration.
2000-08-10 14:32:29 +00:00
cgd
c85d2eb42b
sweep of my licenses for consistency. (no functional changes) These
...
files have copyright held by people in addition to myself. (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.) Their approval has been given re: the license
change.
2000-06-14 22:52:37 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
sjg
1f724b9392
use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels.
2000-05-02 16:06:45 +00:00
simonb
71efc75854
Don't start update.
1999-11-23 22:43:20 +00:00
cgd
7aa73e55cb
after checking and setting DONEPROFILE, export it so that children of the
...
shell (e.g. programs and shells invoked via sysinst) don't try to run
sysinst again. Fixes PR#7805.
1999-06-26 06:12:49 +00:00
mrg
70886049ec
a clone of the SPARC miniroot, adjusted as necessary.. not really tested yet.
1999-01-23 06:44:38 +00:00