Commit Graph

101 Commits

Author SHA1 Message Date
tsutsui a9fac00a81 Also fix md_get_cddevs() to match cd probe messages by MI SCSI drivers.
(untested)
2006-06-04 17:00:13 +00:00
tsutsui 2c0d282c4d Fix md_get_diskdevs() to match sd probe messages by MI SCSI drivers.
Problem reported by Juha Laiho on port-hp300.
2006-06-04 16:52:29 +00:00
tsutsui ad492b4bfe Add MI installboot(8). 2006-04-12 15:53:38 +00:00
tsutsui 17e5a1e5a3 Use dmesg(8) directly rather than via kernfs. 2006-03-21 03:38:22 +00:00
tsutsui f9e105a948 Use smaller distrib/utils/x_gzip. 2006-03-21 03:35:49 +00:00
tsutsui a599612f68 MAKEDEV(8) requires df(1) to detect fdesc. 2006-03-21 03:28:34 +00:00
tsutsui 59c9ad4718 hp300 now uses MI installboot(8) so also put it to ramdiskbin. 2006-03-21 01:30:06 +00:00
he 62255c586a Catch up with the removal of gawk, so that the miniroot builds again. 2004-03-30 13:38:20 +00:00
martin 0d54d60a48 Add -lz, now needed by gzip. 2003-12-25 11:14:36 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
he eca5e4743f Bump ramdisk image size from 1444k to 1500k. 2003-02-23 22:30:46 +00:00
he 87ce3fd084 Remove the need to include grep in the miniroot; replace with
usage of awk instead.
2003-02-23 22:29:38 +00:00
he 3d65d2c867 The ports which use grep in their miniroot need to have a special
rule to get at the source (and object) directory after the recent
grep move.
2003-02-19 14:21:06 +00:00
jdolecek 2011a991cc ramdisk image overflew, bump by 4K 2003-01-23 21:37:28 +00:00
tsutsui a6223afc8f Remove "srcdir distrib/utils/x_mount" from ramdisk lists
since src/sbin/mount/Makefile no longer links fs specific routines.
2003-01-19 12:26:47 +00:00
lukem a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
gmcgarry da4e54bda5 More inodes for ramdisk 2002-11-11 05:07:09 +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
mycroft cfedc10218 typo: PROC -> PROG 2002-09-14 02:00:25 +00:00
gmcgarry 6e62e5cefa Add tset to ramdisk. Use it to set TERM before running sysinst. 2002-08-04 01:21:48 +00:00
lukem 1cf21a4eeb as COPYDIR copies files with 444 permissions, we need to explicitly
add MTREE entries to change the permissions of executable programs
such as usr/mdec/installboot and usr/mdec/binstall
2002-06-12 22:59:31 +00:00
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