First crack at configs for 4.0 .iso images.

This commit is contained in:
riz 2006-08-24 18:15:08 +00:00
parent 432f035fa6
commit 6a3b33002c
2 changed files with 324 additions and 0 deletions

262
distrib/cdrom/4.0.conf Normal file
View File

@ -0,0 +1,262 @@
# $NetBSD: 4.0.conf,v 1.1 2006/08/24 18:15:08 riz Exp $
#
# Makefile fragment for CD sets; includes config information.
##############################################################################
# The NetBSD release being packaged on this CD set. This also implies
# inclusion of a config file for that release, named NetBSD-${CD_RELEASE}.mk.
# That file defines the various per-port specifics for that release.
CD_RELEASE= 4.0
##############################################################################
# The NetBSD release to be used in the .iso image filenames. Defaults to
# ${CD_RELEASE} but can be overridden in the environment.
ISO_RELEASE?= ${CD_RELEASE}
##############################################################################
# The names of the individual CD images, without ".iso".
# This also indicates the suffix of configuration variables later in this file
# which are CD-image specific.
CD_IMAGES=
CD_IMAGES+= multi-cd1-${ISO_RELEASE}
CD_IMAGES+= multi-cd2-${ISO_RELEASE}
CD_IMAGES+= multi-cd3-${ISO_RELEASE}
CD_IMAGES+= acorn26cd-${ISO_RELEASE}
CD_IMAGES+= acorn32cd-${ISO_RELEASE}
CD_IMAGES+= algorcd-${ISO_RELEASE}
CD_IMAGES+= alphacd-${ISO_RELEASE}
CD_IMAGES+= amd64cd-${ISO_RELEASE}
CD_IMAGES+= amigacd-${ISO_RELEASE}
CD_IMAGES+= arccd-${ISO_RELEASE}
CD_IMAGES+= ataricd-${ISO_RELEASE}
CD_IMAGES+= catscd-${ISO_RELEASE}
CD_IMAGES+= cesficcd-${ISO_RELEASE}
CD_IMAGES+= cobaltcd-${ISO_RELEASE}
CD_IMAGES+= dreamcastcd-${ISO_RELEASE}
CD_IMAGES+= evbarmcd-${ISO_RELEASE}
CD_IMAGES+= evbmips-mipsebcd-${ISO_RELEASE}
CD_IMAGES+= evbmips-mipselcd-${ISO_RELEASE}
CD_IMAGES+= evbppccd-${ISO_RELEASE}
CD_IMAGES+= evbsh3-sh3ebcd-${ISO_RELEASE}
CD_IMAGES+= evbsh3-sh3elcd-${ISO_RELEASE}
CD_IMAGES+= evbsh5-sh5elcd-${ISO_RELEASE}
CD_IMAGES+= hp300cd-${ISO_RELEASE}
CD_IMAGES+= hp700cd-${ISO_RELEASE}
CD_IMAGES+= hpcarmcd-${ISO_RELEASE}
CD_IMAGES+= hpcmipscd-${ISO_RELEASE}
CD_IMAGES+= hpcshcd-${ISO_RELEASE}
CD_IMAGES+= i386cd-${ISO_RELEASE}
CD_IMAGES+= ibmnwscd-${ISO_RELEASE}
CD_IMAGES+= iyonix-${ISO_RELEASE}
CD_IMAGES+= luna68kcd-${ISO_RELEASE}
CD_IMAGES+= mac68kcd-${ISO_RELEASE}
CD_IMAGES+= macppccd-${ISO_RELEASE}
CD_IMAGES+= mipscocd-${ISO_RELEASE}
CD_IMAGES+= mmeyecd-${ISO_RELEASE}
CD_IMAGES+= mvmeppccd-${ISO_RELEASE}
CD_IMAGES+= mvme68kcd-${ISO_RELEASE}
CD_IMAGES+= netwindercd-${ISO_RELEASE}
CD_IMAGES+= news68kcd-${ISO_RELEASE}
CD_IMAGES+= newsmipscd-${ISO_RELEASE}
CD_IMAGES+= next68kcd-${ISO_RELEASE}
CD_IMAGES+= ofppccd-${ISO_RELEASE}
CD_IMAGES+= pmaxcd-${ISO_RELEASE}
CD_IMAGES+= pmppccd-${ISO_RELEASE}
CD_IMAGES+= prepcd-${ISO_RELEASE}
CD_IMAGES+= sandpointcd-${ISO_RELEASE}
CD_IMAGES+= sbmips-mipsebcd-${ISO_RELEASE}
CD_IMAGES+= sbmips-mipselcd-${ISO_RELEASE}
CD_IMAGES+= sgimipscd-${ISO_RELEASE}
CD_IMAGES+= sharkcd-${ISO_RELEASE}
CD_IMAGES+= sourcecd-${ISO_RELEASE}
CD_IMAGES+= sparccd-${ISO_RELEASE}
CD_IMAGES+= sparc64cd-${ISO_RELEASE}
CD_IMAGES+= sun2cd-${ISO_RELEASE}
CD_IMAGES+= sun3cd-${ISO_RELEASE}
CD_IMAGES+= vaxcd-${ISO_RELEASE}
CD_IMAGES+= x68kcd-${ISO_RELEASE}
##############################################################################
# The maximum size of an individual CD.
CD_SIZE= 700000
##############################################################################
# The CD volume IDs for each CD-ROM image. This will show up as the
# "volume label" on most operating systems. This is REQUIRED for each image.
# Typically only 16 characters should be used for maximum OS compatibility.
.for image in ${CD_IMAGES}
VOLID.${image}= NetBSD ${CD_RELEASE} ${image:S/-${ISO_RELEASE}$//}
.endfor
# The "abstract file" name. If there is a file in the CD root describing
# use of the CD or booting info, this may be useful to some OS's.
#.for image in ${CD_IMAGES}
#ABSTRACT.${image}= booting.txt
#.endfor
# The "copyright file" name. If there is a file in the CD root describing
# the copyright of the contained files, this may be useful to some OS's.
# This usually needs ADDFILES to go along with it.
#.for image in ${CD_IMAGES}
#COPYRIGHT.${image}= copyrght.txt
#ADDFILES.${image}+= copyrght.txt:${.CURDIR}/extra/copyright.txt,link
#.endfor
# The "publisher name" field on the CD-ROM. Room for 128 characters.
PUBLISHER= The NetBSD Foundation, Inc. / http://www.NetBSD.org/
# The "preparer name" field on the CD-ROM. Room for 128 characters.
PREPARER= NetBSD CD Build System
##############################################################################
# The ports for which the base OS binaries will be included.
# MACHINE_ARCH shared distribution directories and the "ALL" shared
# distribution directory are added automatically where needed.
#
# The following ports, if included, will be bootable on their respective
# CD images:
#
# alpha, amd64, cats, i386, macppc, pmax, sgimips, sparc, sparc64, sun3, vax.
#
# Special notes on booting:
#
# * macppc and mac68k will cause the inclusion of HFS partition and
# filesystem info on the CD, with automatic MacBinary probing and encoding.
#
# * macppc cannot boot on the same disc as either pmax or vax.
# macppc uses the same locations in block 0 to store boot
# information as pmax and vax.
# This will cause a warning in the build, and macppc will override.
#
# * sparc64 cannot boot using default boot arguments on the same disc as
# the sun3x model of sun3. These platforms use the same partitions
# in the Sun boot map by default. This will cause a warning in the build,
# and sparc64 machines will have to boot with "boot cdrom:g" instead of
# "boot cdrom".
#
# * sgimips must be on a disc on its own
#
BASE_PORTS.multi-cd1-${ISO_RELEASE}= i386 macppc sparc sparc64
BASE_PORTS.multi-cd2-${ISO_RELEASE} = alpha \
amiga atari mac68k next68k sun3
BASE_PORTS.multi-cd3-${ISO_RELEASE}= amd64 \
cobalt hpcmips pmax sgimips vax
BASE_PORTS.acorn26cd-${ISO_RELEASE}=acorn26
BASE_PORTS.acorn32cd-${ISO_RELEASE}=acorn32
BASE_PORTS.algorcd-${ISO_RELEASE}=algor
BASE_PORTS.alphacd-${ISO_RELEASE}=alpha
BASE_PORTS.amd64cd-${ISO_RELEASE}=amd64
BASE_PORTS.amigacd-${ISO_RELEASE}=amiga
BASE_PORTS.arccd-${ISO_RELEASE}=arc
BASE_PORTS.ataricd-${ISO_RELEASE}=atari
BASE_PORTS.catscd-${ISO_RELEASE}=cats
BASE_PORTS.cesficcd-${ISO_RELEASE}=cesfic
BASE_PORTS.cobaltcd-${ISO_RELEASE}=cobalt
BASE_PORTS.dreamcastcd-${ISO_RELEASE}=dreamcast
BASE_PORTS.evbarmcd-${ISO_RELEASE}=evbarm
BASE_PORTS.evbmips-mipsebcd-${ISO_RELEASE}=evbmips-mipseb
BASE_PORTS.evbmips-mipselcd-${ISO_RELEASE}=evbmips-mipsel
BASE_PORTS.evbsh3-sh3ebcd-${ISO_RELEASE}=evbsh3-sh3eb
BASE_PORTS.evbsh3-sh3elcd-${ISO_RELEASE}=evbsh3-sh3el
BASE_PORTS.evbsh5-sh5elcd-${ISO_RELEASE}=evbsh5-sh5el
BASE_PORTS.hp300cd-${ISO_RELEASE}=hp300
BASE_PORTS.hpcarmcd-${ISO_RELEASE}=hpcarm
BASE_PORTS.hpcmipscd-${ISO_RELEASE}=hpcmips
BASE_PORTS.hpcshcd-${ISO_RELEASE}=hpcsh
BASE_PORTS.i386cd-${ISO_RELEASE}=i386
BASE_PORTS.iyonixcd-${ISO_RELEASE}=iyonix
BASE_PORTS.ibmnwscd-${ISO_RELEASE}=ibmnws
BASE_PORTS.luna68kcd-${ISO_RELEASE}=luna68k
BASE_PORTS.mac68kcd-${ISO_RELEASE}=mac68k
BASE_PORTS.macppccd-${ISO_RELEASE}=macppc
BASE_PORTS.mipscocd-${ISO_RELEASE}=mipsco
BASE_PORTS.mmeyecd-${ISO_RELEASE}=mmeye
BASE_PORTS.mvme68kcd-${ISO_RELEASE}=mvme68k
BASE_PORTS.mvmeppccd-${ISO_RELEASE}=mvmeppc
BASE_PORTS.netwindercd-${ISO_RELEASE}=netwinder
BASE_PORTS.news68kcd-${ISO_RELEASE}=news68k
BASE_PORTS.newsmipscd-${ISO_RELEASE}=newsmips
BASE_PORTS.next68kcd-${ISO_RELEASE}=next68k
BASE_PORTS.ofppccd-${ISO_RELEASE}=ofppc
BASE_PORTS.pmaxcd-${ISO_RELEASE}=pmax
BASE_PORTS.pmppccd-${ISO_RELEASE}=pmppc
BASE_PORTS.prepcd-${ISO_RELEASE}=prep
BASE_PORTS.sandpointcd-${ISO_RELEASE}=sandpoint
BASE_PORTS.sbmips-mipsebcd-${ISO_RELEASE}=sbmips-mipseb
BASE_PORTS.sbmips-mipselcd-${ISO_RELEASE}=sbmips-mipsel
BASE_PORTS.sgimipscd-${ISO_RELEASE}=sgimips
BASE_PORTS.sharkcd-${ISO_RELEASE}=shark
BASE_PORTS.sourcecd-${ISO_RELEASE}=source
BASE_PORTS.sparccd-${ISO_RELEASE}=sparc
BASE_PORTS.sparc64cd-${ISO_RELEASE}=sparc64
BASE_PORTS.sun2cd-${ISO_RELEASE}=sun2
BASE_PORTS.sun3cd-${ISO_RELEASE}=sun3
BASE_PORTS.vaxcd-${ISO_RELEASE}=vax
BASE_PORTS.x68kcd-${ISO_RELEASE}=x68k
.for image in ${CD_IMAGES}
#INTDIRS.${image}+= packages
BASE_PORTS.${image}+= CHANGES CHANGES.prev LAST_MINUTE README.files
.endfor
##############################################################################
# These provide additional functionality to some host OS's that may or may
# not be desired in some cases. Uncomment to enable, or comment out to
# disable.
# USE_ROCK_RIDGE adds -r to mkisofs to use full Un*x style pathnames and
# permissions. For most situations, this is needed.
USE_ROCK_RIDGE= yes
# USE_LONG_NAMES adds -l to mkisofs to use full 32-character ISO-9660 names.
# This allows some host OS's, particularly AmigaDOS, the ability to see long
# filenames in most cases.
USE_LONG_NAMES= yes
# USE_TRANS_TBL adds -T to mkisofs to provide long names through the use of
# TRANS.TBL translation table files. (These will automatically be hidden
# from Joliet and HFS trees.) Typically this is not used in conjunction
# with USE_LONG_NAMES, but may be used if names still exceed 32 characters.
#USE_TRANS_TBL= yes
# USE_JOLIET adds -J to mkisofs to provide Joliet long filename support for
# Microsoft Windows OS's
USE_JOLIET= yes
# USE_APPLE_ISO adds -apple to mkisofs to provide the Apple ISO-9660
# Extensions. This gives full MacOS attribute information to files without
# the overhead of full HFS. (A disc that is forced into HFS mode by the
# presence of mac68k or macppc will use HFS, not the Apple ISO Extensions.)
USE_APPLE_ISO= yes
# LOG_MKISOFS causes the mkisofs command to be logged in "extra verbose"
# mode (-v -v) to the image filename with .log appended.
#LOG_MKISOFS= yes
##############################################################################
# "Easter egg" file. If this option is present, the standard 32k end padding
# is replaced by a message in this file (no more than 16k), padded to 32k
# with null bytes.
#EASTER_EGG= ${.CURDIR}/extra/egg.txt
##############################################################################

View File

@ -0,0 +1,62 @@
# $NetBSD: NetBSD-4.0.mk,v 1.1 2006/08/24 18:15:08 riz Exp $
#
# Configuration file for the NetBSD-4.0 binary release.
# sysinst expects the architectures at top level
RELEASE_SUBDIR= # empty
# BOOTFILE.alpha is absolute
BOOTFILE.alpha= ${EXTFILEDIR}/alpha.bootxx
EXTFILES.alpha= alpha.bootxx:alpha/binary/sets/base.tgz,./usr/mdec/bootxx_cd9660
INTFILES.alpha= netbsd.alpha:alpha/installation/instkernel/netbsd.gz,link \
boot:alpha/binary/sets/base.tgz,./usr/mdec/boot
# cats needs an a.out kernel to boot from
INTFILES.cats= netbsd.cats:cats/binary/kernel/netbsd.aout-INSTALL.gz
# BOOTFILE.i386 is relative to CD staging root
BOOTFILE.i386= boot.i386
INTFILES.i386= boot.i386:i386/installation/floppy/boot-big.fs,link
# BOOTFILE.amd64 is relative to CD staging root
BOOTFILE.amd64= boot.amd64
INTFILES.amd64= boot.amd64:amd64/installation/floppy/boot-big.fs,link
# macppc has external bootblock generation tool
EXTFILES.macppc= macppc.ofwboot:macppc/binary/sets/base.tgz,./usr/mdec/ofwboot
INTFILES.macppc= ofwboot.xcf:macppc/installation/ofwboot.xcf,link \
netbsd.macppc:macppc/binary/kernel/netbsd-INSTALL.gz,link
# BOOTFILE.pmax is absolute
BOOTFILE.pmax= ${EXTFILEDIR}/pmax.bootxx
EXTFILES.pmax= pmax.bootxx:pmax/binary/sets/base.tgz,./usr/mdec/bootxx_cd9660
INTFILES.pmax= netbsd.pmax:pmax/binary/kernel/netbsd-INSTALL.gz,link \
boot.pmax:pmax/binary/sets/base.tgz,./usr/mdec/boot.pmax
# sgimips needs the compressed kernels with short names in /, the various
# boot files that go into the volume header and the bootblock.h file
# to grep for the volume header size
EXTFILES.sgimips= sgimips.bootblock.h:sgimips/binary/sets/comp.tgz,./usr/include/sys/bootblock.h
INTFILES.sgimips= aoutboot:sgimips/binary/sets/base.tgz,./usr/mdec/aoutboot \
ip2xboot:sgimips/binary/sets/base.tgz,./usr/mdec/ip2xboot \
ip3xboot:sgimips/binary/sets/base.tgz,./usr/mdec/ip3xboot \
ip2x:sgimips/binary/kernel/netbsd-INSTALL32_IP2x.gz,link \
ip3x:sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz,link
# BOOTFILE.sparc is absolute
BOOTFILE.sparc= ${EXTFILEDIR}/sparc-boot.fs
EXTFILES.sparc= sparc-boot.fs:sparc/installation/bootfs/boot.fs.gz
INTFILES.sparc= installation/bootfs/instfs.tgz:sparc/installation/bootfs/instfs.tgz,link
INTDIRS.sparc= installation/bootfs
MKISOFS_ARGS.sparc= -hide-hfs ./installation -hide-joliet ./installation
# BOOTFILE.sparc64 is absolute
BOOTFILE.sparc64= ${EXTFILEDIR}/sparc64-boot.fs
EXTFILES.sparc64= sparc64-boot.fs:sparc64/installation/misc/boot.fs.gz
# BOOTFILE.vax is absolute
BOOTFILE.vax= ${EXTFILEDIR}/vax.xxboot
EXTFILES.vax= vax.xxboot:vax/binary/sets/base.tgz,./usr/mdec/xxboot
INTFILES.vax= netbsd.vax:vax/installation/netboot/install.ram.gz,link \
boot.vax:vax/binary/sets/base.tgz,./usr/mdec/boot