Commit Graph

114 Commits

Author SHA1 Message Date
tsutsui cee8238241 Add 5.0.1 configuration files for reference. 2009-12-13 08:37:40 +00:00
pooka d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
snj f2a7edf211 Only generate SHA512 and MD5 checksums for releases. 2009-09-19 07:09:53 +00:00
tsutsui 3c7be73762 Avoid keyword substitution. 2009-03-30 11:22:46 +00:00
tsutsui 96c07171a0 Use pre-generated boothfs.uue binary to create macppccd. 2009-03-29 04:56:16 +00:00
tsutsui 02e4479fcd Initial generated boothfs.uue binary by macppc_mkboothfs. 2009-03-29 04:54:19 +00:00
tsutsui 0970a93da7 Add targets to prepare generated boothfs.uue binary file. 2009-03-29 04:52:12 +00:00
tsutsui 6c51ef2df9 Add 4.0.1 config files for reference. 2009-03-25 15:57:17 +00:00
tsutsui 90ae2f0e0c Use nbcompat lib in src/tools/compat so that this can be built
on non-NetBSD hosts.  Tested on CYGWIN_NT-5.1-1.5.25-i686.

XXX: It's enough to have generated boothfs.uue binary
XXX: (for mkisofs -boot-hfs-file option), rather than
XXX: building a tool and generating it at run time.
2009-03-25 15:36:08 +00:00
tsutsui 81d9503824 Use nbcompat lib in src/tools/compat so that this can be built
on non-NetBSD hosts.  Tested on CYGWIN_NT-5.1-1.5.25-i686.

XXX: this should be merged into src/usr.sbin/installboot.
2009-03-25 15:26:49 +00:00
tsutsui 19165a6c8e Remove an extra escape char. bash(1) complains about it. 2009-03-25 13:53:05 +00:00
tsutsui edbc5d2a81 Use ${TOOL_PAX} rather than tar(1) on the build host.
On some system tar(1) doesn't have --fast-read option.
2009-03-25 09:50:21 +00:00
tsutsui ab6e566655 Add an example to build an ISO from compiled release binaries
by "build.sh release" in RELEASEDIR.
2009-03-22 15:02:23 +00:00
tsutsui 24d0b20cba Don't remove ${DISTRIBDIR} on cleandir if it isn't default. 2009-03-22 08:43:54 +00:00
tsutsui f71b3da7ab Check if RSYNC and MKISOFS tools are installed before invoking them.
(otherwise we get strange error messages because MKISOFS is used in pipe)
2009-03-22 08:22:37 +00:00
tsutsui ce1d70c7a6 Don't put doc files (CHANGES etc.) available in ftp dir into ISOs.
${RELEASEDIR} and ISO images created by build.sh don't have that files.
2009-03-22 07:40:58 +00:00
tsutsui bbcdef6f71 Print error message properly when ${RELEASE} is not set. 2009-03-22 07:35:43 +00:00
tsutsui f5415a224c Fix a bug slipped in rev 1.40 which puts extra MD directories into ISO
on multiple image targets.
2009-03-21 23:52:38 +00:00
tsutsui 7df41f6ef7 cdrtools-2.01.01a27 seems to have another problem on 5.0_RC3 environment
(it complains "Implementation botch" etc.) to build mac68kcd here,
but cdrtools-2.01 is confirmed working.
2009-03-21 22:54:30 +00:00
tsutsui f263184880 Change default path of mkisofs(8) from /usr/pkg/bin to /usr/local/bin
since recent versions in pkgsrc won't work.
2009-03-21 22:41:57 +00:00
tsutsui c6db9543e8 - fix rsync URLs in examples
- rsync(8) -> rsync(1)
2009-03-12 13:08:46 +00:00
tsutsui 0eeb6a498e Add a dumb howto. 2009-03-09 11:45:03 +00:00
tsutsui 141d5908fa Add 5.0 config files for mac68kcd loadable from MacOS and bootable macppccd. 2009-03-09 11:39:07 +00:00
tsutsui 22cb2e2e3e - explicitly define the default make target
- create shared/ALL and shared/${MACHINE_ARCH} directories
  only if they exist in ${DISTRIBDIR}
2009-03-09 11:34:37 +00:00
tsutsui ef5ebe3adf Add backslashes missed in rev 1.38.
Fixes traditional bootable macppccd build.
(though this seems to require mkisofs 2.01 or prior)
2009-01-28 17:11:54 +00:00
ad 5b8ba55f76 Switch the i386 installation CDs away from RAM disks and instead use the
CD-ROM as the root file system. It contains a limited subset of $DESTDIR
along with sysinst. This will help to massively reduce the amount of memory
needed to install from CD or netboot, and allow us to continue using the
generic kernel on the CDs.
2008-11-21 15:49:51 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
tsutsui b87210fa51 Normalize my licenses. 2008-05-14 13:29:27 +00:00
ad da694a1ffc For PR kern/38537:
- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
  build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
2008-04-30 15:29:11 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui b92bcf19a8 Fix warnings. 2008-02-27 13:08:52 +00:00
tsutsui ef31271269 Make it possible to specify multiple targets in TARGET_CD_IMAGE. 2008-01-11 11:37:03 +00:00
tsutsui 9f8e035be7 Use ${TOOL_STAT} to get file size instead of ls and awk in more places. 2007-12-08 12:30:18 +00:00
tsutsui dda5f131c9 Add more useful variables for rsync to fetch binary sets:
RSYNC_HOST
  specify rsync host (default: rsync.NetBSD.org)

RSYNC_PATH_PREFIX
  specify extra prefix path of NetBSD module names for rsync mirrors
   ex. "/pub", "/netbsd" etc. (default: empty)

DAILY_DIR
  specify directory name on using NetBSD-daily snapshot for -current
   ex. "200712060002Z" etc. (no default; mandatory for -current)

RELEASE_SUFFIX
  specify suffix of directory names used for pre-releases
   ex. "_BETA2", "_RC5" etc. (default: empty)

RSYNC_PATH
  specify path used to rsync hosts (default: set from the above variables)

Examples:

make RELEASE=3.1 TARGET_CD_IMAGE=mac68kcd fetch
 -> fetch 3.1 mac68k sets from
    rsync.NetBSD.org:/NetBSD/NetBSD-3.1/

make RELEASE=4.0 TARGET_CD_IMAGE=mac68kcd RELEASE_SUFFIX=_RC5 fetch
 -> fetch 4.0_RC5 mac68k sets from
    rsync.NetBSD.org:/NetBSD/NetBSD-4.0_RC5/

make RELEASE=current TARGET_CD_IMAGE=mac68kcd DAILY_DIR=200712060002Z fetch
 -> fetch -current mac68k sets from
    rsync.NetBSD.org:/NetBSD-daily/HEAD/200712060002Z/

make RELEASE=4.0 TARGET_CD_IMAGE=mac68kcd RELEASE_SUFFIX=_RC5 \
    RSYNC_HOST=rsync3.jp.NetBSD.org RSYNC_PATH_PREFIX=/pub fetch
 -> fetch 4.0_RC5 mac68k sets from
    rsync3.jp.NetBSD.org:/pub/NetBSD/NetBSD-4.0_RC5/

make RELEASE=3.1 TARGET_CD_IMAGE=mac68kcd \
    RSYNC_PATH=/NetBSD-daily/netbsd-3/200712060002Z fetch
 -> fetch mac68k sets of netbsd-3 branch from
    rsync.NetBSD.org:/pub/NetBSD-daily/netbsd-3/200712060002Z
2007-12-07 21:08:58 +00:00
tsutsui a0b97864fc - fix "Rounding up to 32k boundary and padding 32k" code
("dd if=/dev/zero bs=512 count=0" seems to cause unexpected results)
- use ${TOOL_STAT} to get file size instead of ls and awk
  (1.6.x don't have ${TOOL_STAT} but they have been obsolete anyway)

Both are taken from sys/arch/i386/stand/bootxx/Makefile.bootxx.
2007-12-07 18:35:21 +00:00
garbled 81d85de62e Part 1 of pmppc removal as a port. (the machine is still supported, but
now under the evbppc port)
Note, have not touched the set lists yet, as I would like to preserve the
manpages.
2007-10-17 22:59:26 +00:00
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