Index of /archives/NetBSD/NetBSD-release-9/src/distrib/cdrom

Icon  Name                                           Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] 1.6.1.conf 2003-07-27 02:06 6.7K [TXT] 1.6.2.conf 2004-03-03 05:42 6.8K [TXT] 2.0.conf 2004-12-06 18:14 7.2K [TXT] 2.1.conf 2005-10-26 04:43 7.3K [TXT] 3.0.1.conf 2007-03-08 06:59 9.8K [TXT] 3.0.2.conf 2008-01-11 20:37 9.9K [TXT] 3.0.3.conf 2008-01-11 20:37 9.9K [TXT] 3.0.conf 2007-03-08 06:59 9.8K [TXT] 3.1.1.conf 2008-01-11 20:37 9.9K [TXT] 3.1.conf 2008-01-11 20:37 9.9K [TXT] 4.0.1.conf 2009-03-26 00:57 10K [TXT] 4.0.conf 2008-01-11 20:37 9.9K [TXT] 5.0.1.conf 2009-12-13 17:37 166 [TXT] 5.0.conf 2009-12-13 17:37 10K [DIR] CVS/ 2024-02-15 03:51 - [TXT] Makefile 2018-01-24 18:04 15K [TXT] NetBSD-1.5.mk 2001-01-18 01:04 1.7K [TXT] NetBSD-1.6.1.mk 2003-04-22 11:55 2.0K [TXT] NetBSD-1.6.2.mk 2004-03-03 05:42 2.0K [TXT] NetBSD-1.6.mk 2003-02-14 08:54 2.0K [TXT] NetBSD-2.0.mk 2006-08-30 06:34 2.1K [TXT] NetBSD-2.1.mk 2005-10-23 00:52 2.1K [TXT] NetBSD-3.0.1.mk 2006-06-22 06:27 2.7K [TXT] NetBSD-3.0.2.mk 2006-11-02 19:46 2.8K [TXT] NetBSD-3.0.3.mk 2007-07-12 22:59 2.8K [TXT] NetBSD-3.0.mk 2005-12-09 06:13 2.7K [TXT] NetBSD-3.1.1.mk 2007-07-12 22:59 2.8K [TXT] NetBSD-3.1.mk 2006-09-17 12:56 2.8K [TXT] NetBSD-4.0.1.mk 2009-03-26 00:57 3.2K [TXT] NetBSD-4.0.mk 2007-03-11 07:11 3.2K [TXT] NetBSD-5.0.1.mk 2009-12-13 17:37 153 [TXT] NetBSD-5.0.mk 2009-03-09 20:39 3.2K [TXT] NetBSD-9.0.mk 2019-12-05 19:28 3.1K [TXT] NetBSD-current.mk 2018-11-13 12:03 3.1K [TXT] README 2009-03-23 00:02 3.3K [   ] boothfs.uue 2009-03-29 13:54 7.0K [TXT] current.conf 2018-01-24 18:04 9.7K [TXT] example.conf 2003-07-27 02:06 5.2K [DIR] extra/ 2024-02-15 03:44 - [   ] hfsmap.lst 2017-02-16 07:47 165 [   ] hide-hfs.lst 2009-09-19 16:09 71 [TXT] hide-iso.lst 2000-11-30 09:04 0 [   ] hide-jol.lst 2000-11-30 14:14 70 [DIR] macppc_installboot/ 2024-02-15 03:44 - [DIR] macppc_mkboothfs/ 2024-02-15 03:44 -
$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)