NetBSD/distrib/cdrom
pooka d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
..
extra netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
macppc_installboot Use nbcompat lib in src/tools/compat so that this can be built 2009-03-25 15:26:49 +00:00
macppc_mkboothfs Avoid keyword substitution. 2009-03-30 11:22:46 +00:00
1.6.1.conf netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
1.6.2.conf 1.6.2 configs 2004-03-02 20:42:23 +00:00
2.0.conf Trim multi2 down as well 2004-12-06 09:14:22 +00:00
2.1.conf source is too big for multi-cd3 when pkgsrc is included; substitute 2005-10-25 19:43:20 +00:00
3.0.1.conf Remove sgimips from multi-cd sets where EXTFILES.sgimips is defined. 2007-03-07 21:59:15 +00:00
3.0.2.conf Make it possible to specify multiple targets in TARGET_CD_IMAGE. 2008-01-11 11:37:03 +00:00
3.0.3.conf Make it possible to specify multiple targets in TARGET_CD_IMAGE. 2008-01-11 11:37:03 +00:00
3.0.conf Remove sgimips from multi-cd sets where EXTFILES.sgimips is defined. 2007-03-07 21:59:15 +00:00
3.1.1.conf Make it possible to specify multiple targets in TARGET_CD_IMAGE. 2008-01-11 11:37:03 +00:00
3.1.conf Make it possible to specify multiple targets in TARGET_CD_IMAGE. 2008-01-11 11:37:03 +00:00
4.0.1.conf Add 4.0.1 config files for reference. 2009-03-25 15:57:17 +00:00
4.0.conf Make it possible to specify multiple targets in TARGET_CD_IMAGE. 2008-01-11 11:37:03 +00:00
5.0.conf Don't put doc files (CHANGES etc.) available in ftp dir into ISOs. 2009-03-22 07:40:58 +00:00
Makefile Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
NetBSD-1.5.mk
NetBSD-1.6.1.mk
NetBSD-1.6.2.mk 1.6.2 configs 2004-03-02 20:42:23 +00:00
NetBSD-1.6.mk
NetBSD-2.0.mk fix comment 2006-08-29 21:34:45 +00:00
NetBSD-2.1.mk Add configurations for the NetBSD 2.1 release. 2005-10-22 15:52:43 +00:00
NetBSD-3.0.1.mk Create the configuration files for the 3.0.1 release ISOs. 2006-06-21 21:27:20 +00:00
NetBSD-3.0.2.mk Add configuration files for the 3.0.2 release ISO's. 2006-11-02 10:46:30 +00:00
NetBSD-3.0.3.mk Add configuration files for the 3.0.3 and 3.1.1 release ISO's. 2007-07-12 13:59:55 +00:00
NetBSD-3.0.mk Create the configuration files for the 3.0 release ISOs. 2005-12-08 21:13:28 +00:00
NetBSD-3.1.1.mk Add configuration files for the 3.0.3 and 3.1.1 release ISO's. 2007-07-12 13:59:55 +00:00
NetBSD-3.1.mk Reorganize macppc_installboot to make macppccd.iso image actually bootable 2006-09-17 03:56:03 +00:00
NetBSD-4.0.1.mk Add 4.0.1 config files for reference. 2009-03-25 15:57:17 +00:00
NetBSD-4.0.mk Adjust config for 4.0: use native boot for i386 and amd64, swap i386 and amd64 2007-03-10 22:11:12 +00:00
NetBSD-5.0.mk Add 5.0 config files for mac68kcd loadable from MacOS and bootable macppccd. 2009-03-09 11:39:07 +00:00
NetBSD-current.mk For PR kern/38537: 2008-04-30 15:29:11 +00:00
README Add an example to build an ISO from compiled release binaries 2009-03-22 15:02:23 +00:00
boothfs.uue Initial generated boothfs.uue binary by macppc_mkboothfs. 2009-03-29 04:54:19 +00:00
current.conf Switch the i386 installation CDs away from RAM disks and instead use the 2008-11-21 15:49:51 +00:00
example.conf netbsd.org->NetBSD.org 2003-07-26 17:06:22 +00:00
hfsmap.lst
hide-hfs.lst Only generate SHA512 and MD5 checksums for releases. 2009-09-19 07:09:53 +00:00
hide-iso.lst
hide-jol.lst

README

$NetBSD: README,v 1.4 2009/03/22 15:02:24 tsutsui Exp $

This distrib/cdrom directory was used to create bootable CD images
in the past releases with optional rsync(1) and mkisofs(8) tool.
All necessary binaries for ISOs must be prepared in ${DISTRIBDIR},
which is ${.OBJDIR}/download by default, and the binaries can be fetched
by rsync(1) with the "fetch" target defined in Makefile.

Now build.sh script has the "iso-image" target using our native makefs(8)
and this distrib/cdrom is being superseded, but our makefs(8) still
lacks support for a hybrid ISO9660/HFS file system which is required
to create bootable CD images for mac68k and macppc.

On the other hand, the recent version of mkisofs(8) seems to use
iconv(3) libraries on creating the hybrid ISO9660/HFS file system,
but the latest mkisofs(8) (at least cdrtools-2.01.01.36) from pkgsrc
dumps core on it. cdrtools-2.01 is required to build images. (PR pkg/37643)

Note you can also use compiled release binaries prepared in RELEASEDIR by
"build.sh release" if you need only single ISO image for a specific port.


Environment variables:

RELEASE
  specify target release version (no default, mandatory)

TARGET_CD_IMAGE
  specify target ${MACHINE}cd name
  (default: all targets defined in ${RELEASE}.conf)

MKISOFS
  specify mkisofs(8) path (default: /usr/pkg/bin/mkisofs)

RSYNC
  specify rsync(1) path (default: /usr/pkg/bin/rsync)

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)

BRANCH
  spcify branch name on using NetBSD-daily snapshot (default: 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)


Example usage:

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

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

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

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
    rsync://rsync3.jp.NetBSD.org/pub/NetBSD/NetBSD-4.0_RC5/

make RELEASE=5.0 TARGET_CD_IMAGE=mac68kcd \
    RSYNC_HOST=rsync.jp.NetBSD.org \
    RSYNC_PATH=/NetBSD-daily/netbsd-5/200903070000Z fetch
 -> fetch mac68k sets of netbsd-5 branch from
    rsync://rsync.jp.NetBSD.org/pub/NetBSD-daily/netbsd-5/200903070000Z

make RELEASE=5.0 TARGET_CD_IMAGE=mac68kcd all
 -> build an ISO image for mac68k from downloaded files as the above

make RELEASE=5.0 TARGET_CD_IMAGE=macppccd \
    DISTRIBDIR=/usr/obj.macppc/releasedir all
 -> build an ISO image for macppc from release binaries
    built by "build.sh release" in the RELEASEDIR 
    (use appropriate RELEASEDIR on your build environment)