Commit Graph

213 Commits

Author SHA1 Message Date
lukem
0540a3d579 Convert from vnd and installboot.old to Makefile.tarfloppy and MI installboot.
Allow various parameters to be tweaked via external make(1) or
environment variables, to allow for easy creation of floppy sets
containing arbitrary kernels.

XXX: GENERIC still doesn't fit on a single floppy, so this won't build as-is
and is still not enabled by default.  (Per discussion with Ross & Jason.)
2002-05-04 01:40:06 +00:00
lukem
897d27df90 - add support for [-s suffix] to buildfloppies.sh (defaults to "",
rather than the previous ".fs").
- add support for (optional) FLOPPYSUFFIX in Makefile.tarfloppy, and
  use appropriately
- remove (now unnecessary) custom release targets in alpha/instkernel/*
2002-05-04 01:34: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
8987947e49 convert to building with NDWO Makefile.tarfloppy.
alpha is now fully NDWO (well, at least, the stuff that's enabled in
distrib/alpha/Makefile)
2002-05-02 13:04:48 +00:00
lukem
3d5435227d convert instkernel/fdset into using NDWO Makefile.tarfloppy, which
allows UNPRIVED cross building of aforementioned directory
2002-04-30 15:08:44 +00:00
matt
f9f502221e Use the correct name of the INSTALL kernel. 2002-04-26 17:30:00 +00:00
lukem
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
matt
570b8f5fd5 Use the right name for the install kernel. 2002-04-26 01:26:49 +00:00
lukem
2b8264a087 use ${PAX} instead of tar 2002-04-14 08:30:41 +00:00
lukem
3b19bdd9fe link mount_mfs to newfs 2002-04-13 13:37:48 +00:00
lukem
2468ea8bfa use gzip -9f 2002-04-13 13:26:45 +00:00
lukem
0dfdd76021 Makefile.mdset:
replace
		TARGETS = KERNEL IMAGE [...]
	with
		MDTARGETS = KERNEL IMAGE FILENAME [...]
	If FILENAME is "-", use "netbsd.${KERNEL}" as the target filename

The rest:
	Update for new MDTARGETS syntax.  In some cases, the kernel
	name from the "old" method will be used to override the default.
2002-04-12 13:39:43 +00:00
lukem
627174f862 - don't pull in <bsd.prog.mk> in Makefile.mdset; do that in the caller instead
- renamed optional post-strip action variable from ${KERNEL}.post to
  netbsd.${KERNEL}.post
2002-04-12 05:33:58 +00:00
lukem
7573349ed7 use ${DISTRIBDIR} instead of ${_SRC_TOP_}/distrib 2002-04-12 02:07:15 +00:00
lukem
fe5992eead convert to using distrib/common/Makefile.mdset 2002-04-11 15:34:52 +00:00
lukem
2eb6ca7c0e use RELINSTALL from ../Makefile.inc 2002-04-11 06:40:48 +00:00
lukem
2637121712 tweak how distrib/Makefile.inc is pulled in 2002-04-10 15:34:59 +00:00
lukem
fc30d3eb37 whitespace tweak 2002-04-10 15:28:22 +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
lukem
0b8463079e rejig a bit 2002-04-07 04:29:15 +00:00
lukem
deffb66504 parselist.awk
- improve comments
- provide a general purpose variable replacement; replace contents of ${FOO}
  with ENVIRON["FOO"].
- deprecate @MACHINE@ and @MACHINE_ARCH@ in favour of using ${MACHINE}
  and ${MACHINE_ARCH} instead
- add errx() function; like err(), but doesn't print the line number
- invoke this script with various variables defined via PARSELISTENV

*/Makefile*
- use PARSELISTENV instead of POPULATEENV, and add variables like DESTDIR
- other minor tweaks

*/list*
- replace @MACHINE@ with ${MACHINE}
2002-03-14 22:26:08 +00:00
lukem
62aa4e74be don't need this any more 2002-03-07 23:53:44 +00:00
lukem
dee3f84c6f remove now-unnecessary cruft 2002-03-07 23:52:48 +00:00
lukem
ccfd870e0f convert to using the New Distrib World Order.
this directory can now be built UNPRIVED.
2002-03-07 23:51:48 +00:00
lukem
21e9386c5c remove some unnnecessary variable assignments, and use ${NM} instead of nm 2002-03-07 01:58:30 +00:00
lukem
8a4df7f4da use check_RELEASEDIR, and minor whitespace cleanup 2002-03-06 13:31:04 +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
f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +00:00
thorpej
318f0d0f20 Add barriers after ramdisk and instkernel, but allow fd-set and
cd-hd-tape to be built in parallel.
2002-02-11 07:32:54 +00:00
lukem
811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +00:00
ross
d750bb9154 TARGETS is defined by bsd.own.mk, so use LOCALTARGETS instead 2002-02-06 23:29:42 +00:00
ross
0a4e099c15 stop specifying cylinders per group 2002-02-04 01:11:09 +00:00
ross
0537ea5213 simplify all vnd(4) names for vnconfig(8) and disklabel(8) as required
by recent libutil changes; it's nicer this way in any case
2001-12-09 00:37:38 +00:00
ross
0293291e61 + get mtree definition from bsd.sys.mk, for subtree make runs
+ change all disklabel and vnconfig instances to track libutil opendisk(3) mods
2001-12-09 00:32:51 +00:00
tv
8bef0452bd ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:41:52 +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
ross
e7a8e6a36b g/c stuff left over from the last ice age 2001-04-05 20:37:28 +00:00
matt
ef9c98579e Need ${.CURDIR} for README.files (required when using MAKEOBJDIRPREFIX). 2000-11-07 17:41:51 +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
matt
72b37119a0 ${.CURDIR} is not optional when using MAKEOBJDIRPREFIX. 2000-09-12 17:21:44 +00:00
jhawk
fa355af084 Remove the kernel symbol files during a `make clean'. 2000-09-10 21:59:00 +00:00
jhawk
00058e57d8 For stripped kernels, run nm and save the output as
netbsd.KERNELNAME.symbols, and install in the release(7) tree.
2000-09-09 19:10:10 +00:00
jhawk
a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +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
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +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
thorpej
464b4e3de0 Need /etc/netconfig. 2000-06-07 19:54:50 +00:00
mycroft
0033b70c27 Put the ramdisk kernel in the release area. 2000-05-07 18:21:17 +00:00
sjg
1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
cjs
365f78431b Fix typo. 2000-03-08 14:28:54 +00:00
cjs
a195a52b81 Include bsd.own.mk so we use /etc/mk.conf, which may well have RELEASEDIR
in it.
2000-03-08 13:34:58 +00:00
itojun
b20e217bb8 use x_ping for ping, remove reference to -lipsec.
(sorry if you have specific need for "real" ping)
2000-02-03 19:25:16 +00:00
tsutsui
a9d4a72b25 Revert STRIPPROG -> STRIP 2000-02-01 05:02:31 +00:00
tsutsui
1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +00:00
tsutsui
bdfb1f79c9 STRIP -> STRIPPROG 2000-01-19 16:40:10 +00:00
tsutsui
e6824489b4 Fix root device name md0a -> md0 2000-01-10 05:03:24 +00:00
simonb
2e3036aadb Remove update from the miniroot lists. 1999-11-23 23:16:02 +00:00
simonb
71efc75854 Don't start update. 1999-11-23 22:43:20 +00:00
simonb
1b411c7a86 Remove update from all ramdisks. 1999-11-23 22:14:22 +00:00
sommerfeld
5add126c66 Don't assume anything about how obj dirs are named. 1999-11-20 13:03:09 +00:00
ross
125d7ba1cb GENERIC doesn't fit on one floppy anymore. For now, disable the target. 1999-09-20 08:18:31 +00:00
ross
899c8f2588 Tweak. 1999-09-10 07:43:00 +00:00
ross
ac269a8a7e Make the kernel selectable and the strip action optional. 1999-09-02 23:39:43 +00:00
ross
57291ce60a -lbz2 -lipsec 1999-08-08 01:08:11 +00:00
ross
147f63da42 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:36:37 +00:00
ross
cd2292889d Harmonize pathnames. 1999-06-30 18:14:26 +00:00
christos
f74ef2f90d increase ramdisk size 1999-06-27 22:37:21 +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
nathanw
914e91ea43 'make clean' should also blow away netbsd.gz. 1999-06-25 22:32:40 +00:00
bouyer
90d35fd201 Generate the /dist/obsolete_* files used by sysinst from the obsolete lists
in sets/lists/*. The sript sets/makeobsolete concatenates the mi and md
obsolete list files all or a specified set and dumps it in a file, in a
subdir specified on the command line (inspired from the maketar and makeflist
files).
Use this for all the sysinst-based installs.
Untested for non-i386, and the md obsolete list may be wrong or incomplete.
Each postmaster is supposed to check this on his port.
1999-06-05 20:17:38 +00:00
tron
2f3417d997 Fix listfiles to handle object directories. Patches supplied by
Izumi Tsutsui in PR misc/7628.
1999-05-23 07:31:19 +00:00
veego
dfa799a037 Sync with the recent crunchgen changes.
- Remove *.cro files and not the obsoleted *.lo files.

From Bill Studenmund commit message:
> 3) Generate .cro files rather than .lo files. .lo now is used for "local
> objects" - obj's for the host machine not the target machine.
1999-05-11 20:46:58 +00:00
veego
597558f2fc Add dummy targets for depend, includes, lint, regress and tags. 1999-05-11 20:08:01 +00:00
ross
6f951a52eb Import INSTALL.more a better way. 1999-04-29 18:57:31 +00:00
ross
a7158cb71c A note enumerating the final subtree build targets. 1999-04-29 02:32:16 +00:00
ross
f344b99e97 Add `disk' target that does the dd(1). 1999-04-29 02:17:43 +00:00
ross
cdc2780d60 term type, sun -> vt100 1999-04-29 01:23:53 +00:00
cgd
884b75e9f3 adjust for changes in alpha /usr/mdec files. 1999-04-07 06:47:49 +00:00
ross
64b5377f3c Describe GENERIC.fs. 1999-03-25 19:58:37 +00:00
ross
c17c3ad1aa Elaborate, and describe the vanilla instkernel, too. 1999-03-25 13:09:20 +00:00
ross
47b20698b5 +pax, +less, +swapctl, rm /etc/*pwd.db, synch with i386.
move the machine-dependent links and progs to separate lines, to purify
diffs with i386
1999-03-22 08:52:21 +00:00
ross
bde3024a9b Make vnd image bigger. 1999-03-22 08:44:57 +00:00
wrstuden
ad140b77ea Modify all calls to newfs in ramdisk/miniroot creation to include
the needed endianism of the architecture. One step towards cross-building
releases.

Not touched are newfs calls in install scripts as they run on the desired
machine and thus default correctly.
1999-03-04 20:32:18 +00:00
ross
17556b8ba3 Convert GENERIC floppy image to ustarfs.
Make sure kernel is stripped.
1999-02-25 12:31:30 +00:00
garbled
851ee9e397 1) Remove all vestiges of tar from src/distrib. Use pax and appropriate
commandlines for all tar operations.  (work supplied by Matt Green)
2) Update arch/*/md.c to deal with new sysinst/run.c.  Special case
anything that needs to do a redirect or a pipe.
3) #if 0 some unused code in target.c. This code will need to be updated,
or special cased with do_system.

Big thank you to Matt for all his work on this.
1999-01-25 23:34:20 +00:00
garbled
c3262a3841 Use pax instead of tar on the ramdisk bins.. create appropriate link for
tar to get tar-like fonctionality.
1999-01-21 07:52:00 +00:00
ross
6b583a619e = -> ?=
change default pathnames a bit
1998-12-10 05:15:43 +00:00
ross
f7befd86e1 Add NetBSD id keyword comment. 1998-12-09 00:22:03 +00:00
jonathan
7c7a3d90e5 Dead. 1998-11-28 02:53:33 +00:00
jonathan
aaa44058ad Use MI versions of the dot.commonutils and dot.instutils helper
scripts for ramdisk-based script installer (even where commented out).
1998-11-28 02:49:44 +00:00
ross
f9a6855884 Urk, no ``all:'' target. 1998-11-05 02:47:14 +00:00
ross
a7dec70a74 Replace with README from current snapshot. 1998-11-05 02:45:49 +00:00
ross
49ac83490a Fix bugs in the way the instkernel is compressed and in the prerequisite
names.
1998-10-29 00:37:06 +00:00
ross
d34961267b Someday we might really traverse in distrib; at least traverse this
subdirectory now.
1998-10-16 01:36:45 +00:00
ross
906b236b05 Nuke the site from orbit, it's the only way to be sure. 1998-10-16 01:32:44 +00:00
ross
9219052313 More pieces of new integrated alpha installer. 1998-10-16 00:45:23 +00:00
ross
49039732e8 Components to new NetBSD/alpha integrated installer. 1998-10-16 00:43:02 +00:00