Commit Graph

128 Commits

Author SHA1 Message Date
lukem
f845b9752d use RELINSTALL 2002-04-26 15:04:30 +00:00
lukem
3b19bdd9fe link mount_mfs to newfs 2002-04-13 13:37:48 +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
983821fd73 - replace image_md_post: target with IMAGE_MD_POST variable, and use
that after building ${IMAGE}
- use ${IMAGEBUILT} to ensure that IMAGE_MD_POST is only run if IMAGE changes
2002-04-12 03:21:09 +00:00
lukem
fe5992eead convert to using distrib/common/Makefile.mdset 2002-04-11 15:34:52 +00:00
tsutsui
ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +00:00
bjh21
a8938c1764 Replace "obs" with "bs" and "conv=osync" with "conv=sync" in the dd command.
This is necessary because POSIX doesn't specify "conv=osync" and GNU dd
doesn't implement it.  I believe that in this case, where only one output
block should ever be generated and the input is a regular file, bs/sync is
equivalent to obs/osync.
2002-04-06 16:41:24 +00:00
lukem
55fb513e95 switch to "${INSTALLBOOT} -m vax" 2002-04-03 06:06:43 +00:00
lukem
e0f433e649 ensure all sysinst-using makefs generated images have at least 15 inodes free,
and be consistent how MAKEFS_FLAGS is defined.
2002-04-01 12:16:11 +00:00
matt
ee7a858980 Add some free inodes and add ra2/ra3. 2002-03-31 17:30:16 +00:00
matt
e6f6b92da4 Sprinkle some .WAIT's 2002-03-31 17:27:43 +00:00
matt
321e2e723e Simplify even more. 2002-03-30 01:33:20 +00:00
matt
e1b1f1d2c3 Simplify a bit. Use installboot. 2002-03-29 22:53:30 +00:00
matt
9def170c03 Don't install boot.mop if ELF. 2002-03-29 06:46:34 +00:00
matt
dac318e592 Make ramdisk 1.5MB in size. cleanup miniroot makefile 2002-03-29 06:37:53 +00:00
matt
9e4e1fb693 Convert floppy to use ustarfs 2002-03-29 06:36:04 +00:00
matt
4f78e15f27 Add -o density=5k to make sure there are enough inodes. 2002-03-29 01:22:21 +00:00
matt
8808586336 Switch from disklabel to installboot. (since installboot will be so much
easier to make a host tool)
2002-03-29 00:15:07 +00:00
lukem
b2a01e995c use distrib/common/Makefile.image, allowing for UNPRIVED builds.
(untested)
2002-03-28 04:51:25 +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
f37a1d53c0 use check_RELEASEDIR 2002-03-28 02:40:18 +00:00
lukem
94e86928c7 minor cleanup 2002-03-28 02:24:09 +00:00
lukem
98945a6d0f Convert to New Distrib World Order, removing pre-sysinst goop whilst here.
Per discussion with Matt Thomas, who said he'd test this if I did the
conversion.
2002-03-28 02:15:04 +00:00
lukem
044bc4a6c1 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:27:08 +00:00
lukem
a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
thorpej
1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
lukem
811d644d8f don't set the owner or group when installing into $RELEASEDIR 2002-02-09 13:56:48 +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
wiz
bef3a1c72a Fix tag broken in previous commit. Oops. 2001-04-23 22:19:29 +00:00
wiz
1c98a1b58a Dummy commit to lose -kk. 2001-04-23 22:10:01 +00:00
wiz
6227373923 make -> ${MAKE}.
Noted by Olaf Seibert on current-users.
2001-04-11 17:31:44 +00:00
matt
b15515a2db Use ${PRINTOBJDIR}. Install boot.fs 2001-03-04 20:33:03 +00:00
matt
896ab00177 Add a makefile to make boot.fs for vax. 2001-03-04 20:28:50 +00:00
garbled
83f61a5891 Change all ocurrences of "crunchgen" to ${CRUNCHGEN} 2000-11-01 07:57:55 +00:00
matt
98670586e9 ramdisk-kernel needs ${.CURDIR} 2000-09-12 16:06:55 +00:00
jhawk
a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
matt
bf54f490b3 fix typo. 2000-06-19 01:14:34 +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
cgd
c3d57dd767 move RCS Id, and fix bogus comment start (# instead of # ?!?!) 2000-06-14 06:35:19 +00:00
matt
4a6f6fd467 nuke slattach and restore/rrestore to get back space taken by new rpc code 2000-06-10 04:56:12 +00:00
matt
d619f5e86e Remove update since it doesn't exist anymore 2000-06-10 04:29:31 +00:00
thorpej
2304ada2b0 Need /etc/netconfig. 2000-06-07 20:43:11 +00:00
matt
a0cdedfb34 add netconfig 2000-06-07 19:38:00 +00:00
matt
3586ef00b3 make snap_md_post do the right thing. 2000-05-31 21:51:27 +00:00
matt
2b6f5625e6 Fix a new nits. we never the dev entries for cd0 or cd1. opps. be
consistent with terminal types.
2000-05-24 23:20:46 +00:00
matt
5d64a08f5f add ramdisk-kernel. 2000-05-23 18:36:04 +00:00
matt
76a7f5856a Build the INSTALL ramdisk kernel 2000-05-23 18:34:58 +00:00
matt
9d53129465 Updagte the VAX bits so they actually work. Use the common method of building
miniroots.  Fix the ramdisk bits.  Use the INSTALL kernel.  This stuff has
really suffered from bitrot.
2000-05-18 02:12:43 +00:00
sjg
1f724b9392 use bsd.kernobj.mk to tell us KERNOBJDIR for compiled kernels. 2000-05-02 16:06:45 +00:00
ragge
2f460bfad3 Patches to update to reality, from Todd Whitesel. 2000-03-04 16:06:41 +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
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
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
ragge
aa897b228c Put in new code to make a ramdisk system for installation. 1999-03-12 18:36:52 +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
lukem
06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
ragge
104c2d4f3e Oops, had forgotten hard link to fsck_ffs. Pointed out by Roger Ivie. 1998-06-30 20:14:19 +00:00
perry
3891a64da7 Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito) 1998-01-09 21:51:25 +00:00
perry
4a5428be69 RCS Id Police. 1998-01-09 18:56:42 +00:00
perry
2ec6474b31 RCSID Police. 1998-01-06 04:44:59 +00:00
thorpej
ed4c805216 Update for changes to vnconfig(8). 1997-06-23 21:29:50 +00:00
lukem
6709a268be Don't hardcode in the current release information; generate it
automatically on the fly, by using
	`sh ${BSDSRCDIR}/sys/conf/osrelease.sh -s`
1997-05-10 15:42:53 +00:00
veego
d27d7804f7 Bump the REV to 12D to get in sync with param.h and newvers.sh.
This REALLY needs to be in ONE file and not in 11 files.
1997-03-16 11:26:15 +00:00
ragge
b1474f955b Installation tools for vax. 1995-10-01 21:22:13 +00:00