Commit Graph

130 Commits

Author SHA1 Message Date
lukem
0165e1202a As parselist.awk now sets COPY-ied files explicitly to 444, ensure
executable files are 555.
2002-06-05 11:22:04 +00:00
lukem
04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
lukem
e914dad622 wrap line 2002-05-07 03:29:43 +00:00
jdolecek
6598181593 use ${.CURDIR} in the 'release' target; this may be necessary
in some configurations
2002-05-05 15:05:33 +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
9e5598221a replace _SRC_TOP_ with NETBSDSRCDIR, since the latter is the "public" version 2002-04-26 15:50:21 +00:00
gmcgarry
8212c0741f Use INSTALLATION_DIRS for directory creation. 2002-04-22 03:37:12 +00:00
gmcgarry
377968bc08 Make all devices, bump ramdisk size, and fiddle with inode density. 2002-04-20 05:01:58 +00:00
gmcgarry
ad0e3bf651 Create ${RELEASEDIR}/installation/misc before installing into it. 2002-04-14 20:48:16 +00:00
lukem
8f603e224b consistency cleanup 2002-04-13 13:42:57 +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
261d1ba438 alpha sort some entries 2002-04-12 03:51:31 +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
lukem
a4f3c97f45 use RELINSTALL from ../Makefile.inc 2002-04-11 08:49:48 +00:00
lukem
6d7992b361 distrib/** consistency tweaks 2002-04-11 05:30:12 +00:00
lukem
630aa9ace1 gratuitous whitespace frobbery 2002-04-11 05:20: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
tsutsui
ebf5fffe65 Set DBG=-Os for libhack. 2002-04-06 18:16:09 +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
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
9c584117ff remove duplicate IMAGEDEPENDS entry 2002-03-24 22:56:58 +00:00
gmcgarry
13b3d79b16 Install HP-IB.geometry as part of the release. 2002-03-17 05:41:58 +00:00
gmcgarry
5b10661ba6 Warn than the INSTALL kernel has been installed. 2002-03-17 05:41:10 +00:00
gmcgarry
ec44419ac0 Use the INSTALL kernel, rather than GENERIC kernel 2002-03-17 05:39:59 +00:00
gmcgarry
4681a321e2 .WAIT between targets. 2002-03-15 06:40:42 +00:00
gmcgarry
68616a4ba3 Increase number of inodes 2002-03-14 23:17:00 +00:00
gmcgarry
56a097150f Use INSTALL kernel in miniroot; add image_md_post target 2002-03-14 04:51:20 +00:00
lukem
2383085e6e cosmetic consistency tweak 2002-03-12 12:52:52 +00:00
lukem
bea10a7dc8 consistency cleanups 2002-03-12 06:39:18 +00:00
lukem
031fce2675 collapse some lines together 2002-03-12 06:28:32 +00:00
lukem
29173b1fb0 add more IMAGEDEPENDS, and some more cosmetic tweaks 2002-03-06 13:17:01 +00:00
lukem
0a7bf05cec clarify why we avoid gethost.o from libhack 2002-03-06 13:09:34 +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
lukem
23a0a8fb2e replace ${_SRC_TOP_}/distrib with ${DISTRIBDIR} 2002-03-06 04:29:35 +00:00
thorpej
f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +00:00
lukem
a771f7472b remove USE_SYSINST goop that was obviously copied from the i386 stuff
and unconditionally add the sysinst list to LISTS; the goop is only in
the i386 stuff because that has some ramdisks which don't use sysinst,
where here on the hp300 it's not an optional item :)
2002-02-24 09:57:18 +00:00
gmcgarry
a530714247 Trim the ramdisk down even smaller. Include the device files on
the ramdisk, since we don't have enough memory to dynamically build
/dev on mfs.
2002-02-23 22:02:08 +00:00
gmcgarry
b85e9644ab Don't use tset, since it's not on the ramdisk. Might have to rethink
this for serial consoles.
2002-02-23 22:00:28 +00:00
gmcgarry
c48a398cdf Make filesystem big endian. 2002-02-13 19:25:26 +00:00
gmcgarry
461d55a6e1 Make and install the new ramdisk installation media. 2002-02-13 06:07:15 +00:00
gmcgarry
cb98d7284d Update for new ramdisk build infrastructure. 2002-02-13 06:01:36 +00:00
gmcgarry
e39f206107 Don't need this file with new ramdisk build infrastructure. 2002-02-13 05:34:39 +00:00
gmcgarry
6a11dfc946 List for ramdisk. Bump ramdisk size to 2MB. 2002-02-13 05:31:18 +00:00
gmcgarry
b0171c39d1 Don't need this now. 2002-02-13 05:30:16 +00:00
gmcgarry
2a8b7cca5b Use the new ramdisk build infrastructure. 2002-02-13 05:13:24 +00:00
gmcgarry
0007bec6dc Skeleton for ramdisk-style installation media. 2002-02-10 01:22:54 +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
he
fc449356b1 Remove entry for `strings' since that's binutils-based and we don't
have the machinery to include that (besdies, it would take up lots of
space on the miniroot).
1999-02-14 16:27:42 +00:00
perry
3891a64da7 Add $HOME to profiles, closes pr 4323 (from Tatoku Ogaito) 1998-01-09 21:51:25 +00:00
scottr
6c8822b681 Don't use an absolute path for the less(1) source. 1997-12-23 06:33:17 +00:00
jtc
c8f77c0b8b Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
thorpej
21526da6c8 Merge the netbsd-1-2 branch back into the mainline. 1996-10-11 18:13:03 +00:00
thorpej
25507ee843 Pull md_install_sets() changes down from release branch. 1996-08-26 02:34:37 +00:00
mrg
682e5d1a57 do md_install_sets. 1996-08-22 03:24:15 +00:00
thorpej
a3c63c03ac Add md_copy_kernel().
(I have the feeling that a cvs merge botched at some point...)
1996-06-26 21:11:07 +00:00
thorpej
72548ecec1 Adapt to the slightly different content of the MD `list' file on the
trunk.
1996-06-11 09:53:25 +00:00
thorpej
5e55ec3674 Oops, missed this file:
Remove the hp300-specific installation tools and use the MI minroot
tools.
1996-06-11 09:50:30 +00:00
thorpej
f4529b230f The file is no longer needed; we don't go down subdirectories anymore. 1996-06-11 09:09:14 +00:00
thorpej
f965d026f3 Remove the hp300-specific installation tools and use the MI minroot
tools.
1996-06-11 08:30:11 +00:00
thorpej
c676fe1e46 Copyright assigned to NetBSD Foundation. 1996-02-28 00:44:01 +00:00
jtc
36cd716562 merge in changes from 1.1 release branch 1995-11-28 23:56:58 +00:00
thorpej
dec01e7557 This is a table describing the geometry for several types of HP-IB disks.
The information is gleaned from .../hp300/dev/rdreg.h and
.../hp300/dev/rd_compat.c, but is much easier to read in this form.
This is basically meant to be supplemental documentation to the INSTALL
notes, and will be really useful when labeling a disk with SYS_INST.
1995-11-17 07:42:29 +00:00
thorpej
4e3fbfb051 Sync with netbsd-1-1. 1995-11-16 07:33:48 +00:00
thorpej
dfc6658291 Sync with the release branch. 1995-11-14 10:12:36 +00:00
thorpej
d83513a716 Updage from netbsd-1-1; too many changes to list here. 1995-11-14 10:07:33 +00:00
thorpej
24c3357819 The NetBSD/hp300 upgrade program, heavily based on the install program.
Uses a system's pre-existing network and filesystem configuration to get
"up and running".
1995-11-14 09:53:15 +00:00
thorpej
66b1809712 Update from netbsd-1-1; copy the upgrade program to the miniroot. 1995-11-14 01:40:42 +00:00
thorpej
3737dc51b5 Update from netbsd-1-1; add rsh(1), kill(1), "shadow" /etc/resolv.conf, and
remove bad144(8).
1995-11-13 17:41:37 +00:00
thorpej
b693701a66 Update from netbsd-1-1; prompt "Installing or upgrading?". 1995-11-11 06:24:47 +00:00
thorpej
4db50f1045 Update from netbsd-1-1; give slow HP-IB disks a chance to recover by doing
a "sync; sleep 2" right before unmounting the target filesystems.
1995-11-07 10:35:25 +00:00
thorpej
72e2e395c0 Update from netbsd-1-1; big list of improvements and bug fixes. 1995-11-07 08:30:45 +00:00
thorpej
29693b3151 Update from netbsd-1-1; add sort(1) and /usr/share/zoneinfo/* to the
miniroot.
1995-11-07 07:26:16 +00:00
thorpej
570c5f86ef First-cut of hp300 miniroot-based installation tools. Currently understands
installing from FTP or NFS server, tape, or CD-ROM, although tape and
CD-ROM are currently untested.  Hooks for placing disklabels on additional
disks are there, but meat is yet to be implemented.
1995-10-03 22:47:50 +00:00