Commit Graph

78 Commits

Author SHA1 Message Date
ghen e20a341cde Add configuration files for the 3.0.3 and 3.1.1 release ISO's. 2007-07-12 13:59:55 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
bouyer 9ee6d7efbb Adjust config for 4.0: use native boot for i386 and amd64, swap i386 and amd64
and remove vax so that images are below 700MB.
2007-03-10 22:11:12 +00:00
bouyer a931914f53 Switch i386 and amd64 to native boot, if INTFILES contains bootxx_cd9660.
Use x86 native boot for current.
Swap i386 and amd64 in multiarch CD sets (cd1 would overflow by 30M otherwise)
and leave vax out (cd3 would overflow by more than 100M - time for a
multi-cd4 ?)
2007-03-08 13:51:37 +00:00
bouyer 03d4f68c12 Remove sgimips from multi-cd sets where EXTFILES.sgimips is defined.
A bootable sgimips has a volume header prepended, and so is useless for
anything but sgimips. The issue was not found before because the
logic to make an ISO bootable on sgimips was broken, and has been fixed by
tsutsui@ on 2007/03/04.
2007-03-07 21:59:15 +00:00
tsutsui d6ca0e8299 Several fixes to make sgimipscd actually bootable:
- introduce SGIMIPS_SGIVOL variable which specifies sgivol(8) path
  because nbsgivol tool is available only in TOOLDIR for sgimips and
  possibly exists in a different directory from default TOOLDIR path
- use fixed (4096) value for SGIVOLHDR.size because default value
  taken from <sys/bootblock.h> is 3135 (not multiples of 4) so it
  doesn't match 2048bytes/sector CD images
- also pass SGIVOLHDR.size to sgivol(8) on creating volume
- rename raw iso9660 image before creating SGIVOLHDR to avoid
  incomplete (non-bootable) image left on failure of sgivol(8)

Problem (i.e. sgimipscd-3.0.2.iso is not bootable) was reported
by Thierry Lacoste on port-sgimips, and fixed images are also
tested by him on IP22 (and by me on IP32).
2007-03-04 04:59:41 +00:00
tsutsui 3723e75357 We can't use && in expression for test(1); use -a instead. 2007-03-04 04:27:21 +00:00
tsutsui 327f43d18c Add a new TARGET_CD_IMAGE variable which specifies single target ISO image,
to make debugging Makefile easier.

For example:
# make RELEASE=3.1 obj
# make RELEASE=3.1 TARGET_CD_IMAGE=sgimipscd fetch
# make RELEASE=3.1 TARGET_CD_IMAGE=sgimipscd

or:
# make RELEASE=current obj
# make RELEASE=current RSYNC_SITE=rsync://rsync.NetBSD.org/NetBSD-daily/HEAD/200702280002Z TARGET_CD_IMAGE=macppccd fetch
# make RELEASE=current TARGET_CD_IMAGE=macppccd

etc.
2007-03-04 04:16:15 +00:00
tsutsui 8a4debd1f3 Remove an extra trailing slash. 2007-03-04 03:52:08 +00:00
mrg 3ff056f4e0 use -publisher instead of -P. from mkisofs(1):
-P     Outdated  option  reserved  by  POSIX.1-2001,   use   -publisher
       instead.   This  option  will  get  POSIX.1-2001  semantics with
       mkisofs-2.02.
2007-02-20 18:09:05 +00:00
ghen b936f8422b Add configuration files for the 3.0.2 release ISO's. 2006-11-02 10:46:30 +00:00
tsutsui 78ca0f3f54 Don't add `-I${NETBSDSRCDIR}/sys' to HOST_CPPFLAGS to pull
necessary target system headers (<fs/unicode.h> and <fs/cd9660/iso.h>)
because system headers for the host (like <sys/stat.h>) are also pulled
from there and it causes build errors if target src tree is different
from installed one on the host.
Instead, copy the necessary system headers for host's programs into
${.OBJDIR} first.

Problem reported from Geert Hendrickx, and there is no particular comment
on tech-toolchain.
2006-10-15 04:24:11 +00:00
tsutsui 42f593a4d5 Reorganize macppc_installboot to make macppccd.iso image actually bootable
on (some) OpenFirmware 2.x machines.

Current macppccd.iso image doesn't boot on Openfirmware 2.x
(and probably 1.0.5) machines because it uses pre-compiled binary
which is based on old (and customized) bootxx.
It causes version mismatch against newer ofwboot whose load address
has been changed from 0x600000 to 0xe00000, as mentioned in the
following post:
http://mail-index.netbsd.org/port-macppc/2004/12/14/0020.html
There was also an raw binary which was passed to mkisofs as -boot-hfs-file.

To fix these issue, prepare a simple mkhfsboot program which creates
a boothfs file with the Apple partition map info for mkisofs,
and modify macppc_installboot to search the secondary ofwboot from isofs
and to put and modify the primary bootxx accordingly.
See PR toolchain/30245 for more details.

There are still some machines which don't boot from an iso image created
by this method (G3 machines with OF 2.0f1 etc.), but it's still better
than to keep ugly and obsolete hacks.

Ok'ed by macallan, and there is no other particular comment about this PR.
2006-09-17 03:56:03 +00:00
tsutsui 097bad5fd3 Remove trailing slash from RSYNC_INCLUDE and RSYNC_EXCLUDE pathes
so that rsync can get regular files.
2006-09-17 03:20:46 +00:00
rpaulo 11a48dc44a fix comment 2006-08-29 21:34:45 +00:00
riz 6a3b33002c First crack at configs for 4.0 .iso images. 2006-08-24 18:15:08 +00:00
ghen 42821065a9 Add configuration files for the 3.1 release ISO's. 2006-08-21 21:14:24 +00:00
tron 2087ddfc5a Create the configuration files for the 3.0.1 release ISOs. 2006-06-21 21:27:20 +00:00
hubertf 398b14bc09 Document that sgimips boots too (and under which constraints) 2006-03-14 09:19:16 +00:00
riz e4adbdcd56 Create the configuration files for the 3.0 release ISOs. 2005-12-08 21:13:28 +00:00
riz ee8f5684fa Correct the filename of the vax ramdisk. 2005-12-08 21:12:18 +00:00
riz d14fcde891 Add ISO_RELEASE as a tag (by default, same as RELEASE) which is used
to label the .iso image files.

While I'm here, modernize the ports list to what's being released with
3.0, and put them one-per-line to make it easier to comment out a single
port if necessary.
2005-12-08 21:11:46 +00:00
riz 28cb63d856 The sgimips files will be extracted into a different directory if sgimips
is on an image of a different name - compensate.
2005-12-03 01:23:23 +00:00
riz 4df8bb6c9b source is too big for multi-cd3 when pkgsrc is included; substitute
sgimips instead.
2005-10-25 19:43:20 +00:00
riz 47cc213a59 Don't make sgimips images bootable unless EXTFILES.sgimips is defined.
While I'm here, fix so that building from a clean objdir works
properly.
2005-10-22 15:56:16 +00:00
riz 52bd3a4883 Add configurations for the NetBSD 2.1 release. 2005-10-22 15:52:43 +00:00
martin f531688ba9 Make sgimipscd.iso bootable. 2005-10-04 19:29:34 +00:00
jmc 86c3a374e9 If building a source only cd don't include shared/ALL 2005-01-20 08:05:55 +00:00
jmc 66c068c1fd Make sure amd64 cd's get bootblocks on them correctly also 2004-12-31 08:34:13 +00:00
jmc 568c053401 Add amd64 support 2004-12-06 20:05:10 +00:00
jmc 39914b5411 Trim multi2 down as well 2004-12-06 09:14:22 +00:00
jmc 358db79407 Drop source from multi1, it's too big and we provide a separate source .iso
anyways
2004-12-06 08:30:46 +00:00
jmc ef48c52a11 Typo 2004-12-06 08:29:25 +00:00
jmc e3d48f02e9 Support for building the cd's on 2.0 2004-12-06 08:15:11 +00:00
gavan 0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
jmc 6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
jmc c45e081a3d 1.6.2 configs 2004-03-02 20:42:23 +00:00
jmc d399175656 Turn this into a hostprog (probably needs linking against nbcompat) 2004-02-29 01:09:18 +00:00
jmc e58ae2884c Fix typo so VAX_IBOOT works 2004-02-29 01:08:22 +00:00
grant 37b90b309e add the makefile fragments for -current. 2003-09-10 17:21:39 +00:00
salo 8d1781e39d netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
lukem eec954fd77 explicitly pull in <bsd.own.mk> for NETBSDSRCDIR (to be safe) 2003-07-10 11:23:53 +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
jmc 57e8e96d56 Configs used to build 1.6.1 iso images 2003-04-22 02:55:41 +00:00
lukem 5ab04f288f use distrib/common/sunbootcd.sh instead of distrib/utils/mksunbootcd/* 2003-03-07 09:52:59 +00:00
jmc f59ffcc923 After pax-as-tar conversion the -O option no longer exists nor is a
substitute available (boo..hiss..). Fix the extraction to deal with this.
2003-02-13 23:55:12 +00:00
jmc 2915e46cec INSTALL kernel is named netbsd.INSTALL.gz on 1.6 2003-02-13 23:54:07 +00:00
scw 16af9da786 The walnut port has been subsumed by the new evbppc port. 2002-12-09 14:20:52 +00:00
lukem c7ad6e6337 Consistently use "netbsd-XXXXX" instead of "netbsd.XXXXX". 2002-11-18 12:39:43 +00:00
lukem f60d6abce0 don't depend upon 'cvs -kb' to preserve macppcboot.raw (et al).
instead, keep uuencoded versions in the repository.

(arguably /usr/sbin/installboot -m macppc should support -t cd9660,
at which point we'd nuke this macppc_installboot hack)
2002-10-21 05:08:23 +00:00