1999-11-11 16:10:37 -01:00
|
|
|
#
|
|
|
|
# This file will have to be sourced where needed
|
2007-12-11 20:43:30 -01:00
|
|
|
|
|
|
|
# To prevent sourcing this file twice when using scripts to build CD images,
|
|
|
|
# use the following code at the top of your script:
|
|
|
|
# CF=CONF.sh
|
|
|
|
# . $CF
|
|
|
|
# export DEBIAN_CD_CONF_SOURCED=true
|
|
|
|
|
|
|
|
# Allow to prevent double sourcing of this file
|
|
|
|
if [ "$DEBIAN_CD_CONF_SOURCED" = true ]; then
|
|
|
|
return 0
|
|
|
|
fi
|
1999-11-11 16:10:37 -01:00
|
|
|
|
2001-10-06 15:55:12 +00:00
|
|
|
# Unset all optional variables first to start from a clean state
|
2002-07-11 22:01:44 +00:00
|
|
|
unset NONFREE || true
|
2002-12-07 09:22:40 -01:00
|
|
|
unset CONTRIB || true
|
2002-07-11 22:01:44 +00:00
|
|
|
unset EXTRANONFREE || true
|
|
|
|
unset LOCAL || true
|
|
|
|
unset LOCALDEBS || true
|
|
|
|
unset SECURITY || true
|
2008-07-13 11:45:10 +00:00
|
|
|
unset PROPOSED_UPDATES || true
|
2002-07-11 22:01:44 +00:00
|
|
|
unset BOOTDIR || true
|
|
|
|
unset SYMLINK || true
|
|
|
|
unset COPYLINK || true
|
|
|
|
unset MKISOFS || true
|
|
|
|
unset MKISOFS_OPTS || true
|
|
|
|
unset ISOLINUX || true
|
|
|
|
unset EXCLUDE || true
|
|
|
|
unset NORECOMMENDS || true
|
|
|
|
unset NOSUGGESTS || true
|
2008-09-20 19:36:42 +00:00
|
|
|
unset IMAGESUMS || true
|
2002-07-11 22:01:44 +00:00
|
|
|
unset JIGDOTEMPLATEURL || true
|
2003-12-18 09:22:38 -01:00
|
|
|
unset JIGDOFALLBACKURLS || true
|
|
|
|
unset JIGDOINCLUDEURLS || true
|
|
|
|
unset JIGDOSCRIPT || true
|
2005-12-06 23:28:18 -01:00
|
|
|
unset JIGDO_OPTS || true
|
2002-07-11 22:01:44 +00:00
|
|
|
unset PUBLISH_URL || true
|
|
|
|
unset PUBLISH_PATH || true
|
2003-05-02 12:55:21 +00:00
|
|
|
unset UDEB_INCLUDE || true
|
|
|
|
unset UDEB_EXCLUDE || true
|
|
|
|
unset BASE_INCLUDE || true
|
|
|
|
unset BASE_EXCLUDE || true
|
2002-12-26 09:39:02 -01:00
|
|
|
unset INSTALLER_CD || true
|
2004-07-09 22:58:03 +00:00
|
|
|
unset MAXCDS || true
|
2008-10-14 08:21:57 +00:00
|
|
|
unset MAXISOS || true
|
|
|
|
unset MAXJIGDOS || true
|
2004-09-07 16:52:25 +00:00
|
|
|
unset SPLASHPNG || true
|
2007-01-05 05:49:52 -01:00
|
|
|
unset OMIT_MANUAL || true
|
2005-06-04 14:36:59 +00:00
|
|
|
unset OMIT_RELEASE_NOTES || true
|
2009-02-04 21:52:01 -01:00
|
|
|
unset OMIT_DOC_TOOLS || true
|
2009-11-20 23:14:26 -01:00
|
|
|
unset MAX_PKG_SIZE || true
|
2001-10-06 15:55:12 +00:00
|
|
|
|
2000-05-18 22:49:02 +00:00
|
|
|
# The debian-cd dir
|
|
|
|
# Where I am (hoping I'm in the debian-cd dir)
|
1999-11-11 16:10:37 -01:00
|
|
|
export BASEDIR=`pwd`
|
|
|
|
|
2010-02-21 20:40:25 -01:00
|
|
|
# Name of the distribution for the image filename (Defaults to 'debian')
|
|
|
|
# export CDNAME=debian
|
|
|
|
|
2009-02-15 21:42:47 -01:00
|
|
|
# Building squeeze cd set ...
|
|
|
|
export CODENAME=squeeze
|
1999-11-11 16:10:37 -01:00
|
|
|
|
2004-03-08 12:43:40 -01:00
|
|
|
# By default use Debian installer packages from $CODENAME
|
2006-12-18 14:22:35 -01:00
|
|
|
if [ -z "$DI_CODENAME" ]; then
|
2006-12-18 14:14:49 -01:00
|
|
|
export DI_CODENAME=$CODENAME
|
2004-03-08 12:43:40 -01:00
|
|
|
fi
|
|
|
|
|
2004-07-14 20:58:57 +00:00
|
|
|
# If set, controls where the d-i components are downloaded from.
|
|
|
|
# This may be an url, or "default", which will make it use the default url
|
|
|
|
# for the daily d-i builds. If not set, uses the official d-i images from
|
|
|
|
# the Debian mirror.
|
2005-02-04 18:55:43 -01:00
|
|
|
#export DI_WWW_HOME=default
|
2004-07-14 20:58:57 +00:00
|
|
|
|
2000-08-12 22:36:50 +00:00
|
|
|
# Version number, "2.2 r0", "2.2 r1" etc.
|
2009-02-15 21:42:47 -01:00
|
|
|
export DEBVERSION="6.0"
|
2000-05-18 22:49:02 +00:00
|
|
|
|
|
|
|
# Official or non-official set.
|
|
|
|
# NOTE: THE "OFFICIAL" DESIGNATION IS ONLY ALLOWED FOR IMAGES AVAILABLE
|
|
|
|
# ON THE OFFICIAL DEBIAN CD WEBSITE http://cdimage.debian.org
|
|
|
|
export OFFICIAL="Unofficial"
|
|
|
|
#export OFFICIAL="Official"
|
|
|
|
#export OFFICIAL="Official Beta"
|
|
|
|
|
2006-06-08 00:46:58 +00:00
|
|
|
# ... for arch
|
2006-12-18 14:22:35 -01:00
|
|
|
if [ -z "$ARCHES" ]; then
|
|
|
|
CPU=`dpkg-architecture -qDEB_HOST_DPKG_CPU 2>/dev/null || true`
|
|
|
|
if [ -z "$CPU" ]; then
|
|
|
|
CPU=`dpkg-architecture -qDEB_HOST_ARCH`
|
|
|
|
fi
|
|
|
|
KERNEL=`dpkg-architecture -qDEB_HOST_DPKG_OS 2>/dev/null || true`
|
|
|
|
if [ -z "$KERNEL" ]; then
|
|
|
|
KERNEL=linux
|
|
|
|
fi
|
|
|
|
if [ $KERNEL = linux ] ; then
|
|
|
|
ARCHES=$CPU
|
|
|
|
else
|
|
|
|
ARCHES="$KERNEL-$CPU"
|
|
|
|
fi
|
|
|
|
export ARCHES
|
2006-06-08 00:26:24 +00:00
|
|
|
fi
|
1999-11-11 16:10:37 -01:00
|
|
|
|
2000-03-14 03:02:29 -01:00
|
|
|
# IMPORTANT : The 4 following paths must be on the same partition/device.
|
|
|
|
# If they aren't then you must set COPYLINK below to 1. This
|
|
|
|
# takes a lot of extra room to create the sandbox for the ISO
|
|
|
|
# images, however. Also, if you are using an NFS partition for
|
|
|
|
# some part of this, you must use this option.
|
1999-11-11 16:10:37 -01:00
|
|
|
# Paths to the mirrors
|
2008-10-14 08:40:58 +00:00
|
|
|
export MIRROR=/srv/mirror/debian
|
2000-03-14 03:02:29 -01:00
|
|
|
|
1999-11-11 16:10:37 -01:00
|
|
|
# Path of the temporary directory
|
2008-10-14 08:40:58 +00:00
|
|
|
export TDIR=/srv/mirror/tmp
|
1999-11-11 16:10:37 -01:00
|
|
|
|
|
|
|
# Path where the images will be written
|
2008-10-14 08:40:58 +00:00
|
|
|
export OUT=/srv/mirror/debian-cd-test
|
1999-11-11 16:10:37 -01:00
|
|
|
|
2000-03-14 03:02:29 -01:00
|
|
|
# Where we keep the temporary apt stuff.
|
|
|
|
# This cannot reside on an NFS mount.
|
2008-10-14 08:40:58 +00:00
|
|
|
export APTTMP=/srv/mirror/tmp/apt
|
2000-03-14 03:02:29 -01:00
|
|
|
|
2000-06-06 17:19:27 +00:00
|
|
|
# Do I want to have NONFREE merged in the CD set
|
1999-11-11 16:10:37 -01:00
|
|
|
# export NONFREE=1
|
|
|
|
|
2002-12-07 09:22:40 -01:00
|
|
|
# Do I want to have CONTRIB merged in the CD set
|
|
|
|
export CONTRIB=1
|
|
|
|
|
2000-06-06 17:19:27 +00:00
|
|
|
# Do I want to have NONFREE on a separate CD (the last CD of the CD set)
|
|
|
|
# WARNING: Don't use NONFREE and EXTRANONFREE at the same time !
|
|
|
|
# export EXTRANONFREE=1
|
|
|
|
|
2010-05-27 00:52:25 +00:00
|
|
|
# Do I want to force (potentially non-free) firmware packages to be
|
|
|
|
# placed on disc 1? Will make installation much easier if systems
|
|
|
|
# contain hardware that depends on this firmware
|
2010-05-27 00:55:47 +00:00
|
|
|
# export FORCE_FIRMWARE=1
|
2010-05-27 00:52:25 +00:00
|
|
|
|
2000-03-07 17:59:31 -01:00
|
|
|
# If you have a $MIRROR/dists/$CODENAME/local/binary-$ARCH dir with
|
|
|
|
# local packages that you want to put on the CD set then
|
|
|
|
# uncomment the following line
|
2000-03-14 03:02:29 -01:00
|
|
|
# export LOCAL=1
|
2000-03-07 17:59:31 -01:00
|
|
|
|
2000-06-30 00:04:03 +00:00
|
|
|
# If your local packages are not under $MIRROR, but somewhere else,
|
|
|
|
# you can uncomment this line and edit to to point to a directory
|
|
|
|
# containing dists/$CODENAME/local/binary-$ARCH
|
|
|
|
# export LOCALDEBS=/home/joey/debian/va/debian
|
|
|
|
|
2002-07-11 21:40:17 +00:00
|
|
|
# Where to find the security patches. This directory should be the
|
|
|
|
# top directory of a security.debian.org mirror.
|
|
|
|
#export SECURITY="$TOPDIR"/debian/debian-security
|
|
|
|
|
2008-07-13 11:45:10 +00:00
|
|
|
# Include proposed updates
|
|
|
|
# Note that on the CDs it will not be visible where packages came from:
|
|
|
|
# from the released archive or from proposed updates archive.
|
|
|
|
# NOTE: intended to be used for pre-release testing, not for publication!
|
|
|
|
#export PROPOSED_UPDATES=$CODENAME-proposed-updates
|
|
|
|
|
1999-11-11 16:10:37 -01:00
|
|
|
# Sparc only : bootdir (location of cd.b and second.b)
|
2000-03-14 03:02:29 -01:00
|
|
|
# export BOOTDIR=/boot
|
1999-11-11 16:10:37 -01:00
|
|
|
|
|
|
|
# Symlink farmers should uncomment this line :
|
2000-03-14 03:02:29 -01:00
|
|
|
# export SYMLINK=1
|
|
|
|
|
|
|
|
# Use this to force copying the files instead of symlinking or hardlinking
|
|
|
|
# them. This is useful if your destination directories are on a different
|
|
|
|
# partition than your source files.
|
|
|
|
# export COPYLINK=1
|
1999-11-11 16:10:37 -01:00
|
|
|
|
|
|
|
# Options
|
2005-09-14 18:28:10 +00:00
|
|
|
# export MKISOFS=mkisofs
|
2004-06-09 18:54:35 +00:00
|
|
|
# export MKISOFS_OPTS="-r" #For normal users
|
|
|
|
# export MKISOFS_OPTS="-r -F ." #For symlink farmers
|
2000-08-25 16:54:03 +00:00
|
|
|
|
2010-12-24 22:28:44 -01:00
|
|
|
# Override for i386 and amd64 to use xorriso instead of
|
|
|
|
# mkisofs/genisoimage. Allows creation of isohybrid images: ISO images
|
|
|
|
# that will burn correctly onto a CD and also can be written raw to a
|
|
|
|
# USB stick. xorriso 0.6.5 and later has working support for this.
|
|
|
|
#export i386_MKISOFS="xorriso"
|
|
|
|
#export i386_MKISOFS_OPTS="-as mkisofs -r -checksum_algorithm_iso md5,sha1"
|
|
|
|
#export amd64_MKISOFS="xorriso"
|
|
|
|
#export amd64_MKISOFS_OPTS="-as mkisofs -r -checksum_algorithm_iso md5,sha1"
|
|
|
|
|
2002-04-13 12:17:57 +00:00
|
|
|
# ISOLinux support for multiboot on CD1 for i386
|
|
|
|
export ISOLINUX=1
|
|
|
|
|
2000-08-25 16:54:03 +00:00
|
|
|
# uncomment this to if you want to see more of what the Makefile is doing
|
2006-12-19 00:58:41 -01:00
|
|
|
#export VERBOSE_MAKE=1
|
2000-08-25 16:54:03 +00:00
|
|
|
|
2009-11-20 23:14:26 -01:00
|
|
|
# The maximum size allowed for an individual package, in bytes; if
|
|
|
|
# larger than this, it will be excluded (and all dependents, of
|
|
|
|
# course). We'll create a README.excluded in the root of CD1 listing
|
|
|
|
# them too
|
|
|
|
export MAX_PKG_SIZE=600000000
|
|
|
|
|
2010-09-29 13:13:04 +00:00
|
|
|
# Should build_all.sh try to build a simple CD image if the proper official
|
|
|
|
# CD run does not work?
|
2006-01-23 23:08:23 -01:00
|
|
|
ATTEMPT_FALLBACK=yes
|
2001-04-24 20:30:54 +00:00
|
|
|
|
Merge of changes from Steve's development branch to take us to
debian-cd version 3.0.0. Highlights:
* Support now added for multi-arch CDs/DVDs, including mixed
binary/source discs. Multi-arch discs should be bootable on those
multiple arches, modulo boot-sector clashes. Extra support added
in boot-i386 and boot-amd64 to make the 2 main arches happily
co-exist.
* Disc sizing is now much more intelligent - sizes are defined
depending on the disk type chosen at the start, and discs are now
filled exactly to those sizes while files are added rather than
the old up-front guessing method. Equally, the metadata on the
disc (Packages, Packages.gz, Sources, Sources.gz, md5sums.txt) is
generated as much as possible while this is happening to make the
sizing code incredibly accurate. Using this method of disc sizing
means that customising discs should be much easier/safer - either
add custom contents at the start and debian-cd will fill the
remainder of the disc, or afterwards roll back the packages on the
disc and add extras later.
* Source is now treated as (almost) just another arch, with most of
the special casing for source hidden internally. If asking for
source-only discs, they will simply be built using all the
available sources. If combined with other arches, the sources will
automatically be chosen to match the binary packages. Meeting GPL
requirements was never so easy!
* Removed lots of old cruft to clean up the codebase:
+ non-US support
+ woody support
+ lots of old support scripts that have been made redundant
+ significantly simpler Makefile, much easier to follow
+ old boot-$ARCH.calc files for estimating boot-file sizes are now
(obviously) obsolete and therefore gone
2006-12-07 22:09:01 -01:00
|
|
|
# Set your disk type here. Known types are:
|
|
|
|
# BC (businesscard): 650 MiB max (should be limited elsewhere,
|
|
|
|
# should never fill a CD anyway)
|
|
|
|
# NETINST: 650 MiB max (ditto)
|
|
|
|
# CD: standard 74-min CD (650 MiB)
|
|
|
|
# CD700: (semi-)standard 80-min CD (700 MiB)
|
|
|
|
# DVD: standard 4.7 GB DVD
|
2008-06-28 14:08:41 +00:00
|
|
|
# DLDVD: standard 8.5 GB dual-layer DVD
|
|
|
|
# BD: standard 25 GB blu-ray
|
|
|
|
# DLBD: standard 50 GB dual-layer blu-ray
|
Merge of changes from Steve's development branch to take us to
debian-cd version 3.0.0. Highlights:
* Support now added for multi-arch CDs/DVDs, including mixed
binary/source discs. Multi-arch discs should be bootable on those
multiple arches, modulo boot-sector clashes. Extra support added
in boot-i386 and boot-amd64 to make the 2 main arches happily
co-exist.
* Disc sizing is now much more intelligent - sizes are defined
depending on the disk type chosen at the start, and discs are now
filled exactly to those sizes while files are added rather than
the old up-front guessing method. Equally, the metadata on the
disc (Packages, Packages.gz, Sources, Sources.gz, md5sums.txt) is
generated as much as possible while this is happening to make the
sizing code incredibly accurate. Using this method of disc sizing
means that customising discs should be much easier/safer - either
add custom contents at the start and debian-cd will fill the
remainder of the disc, or afterwards roll back the packages on the
disc and add extras later.
* Source is now treated as (almost) just another arch, with most of
the special casing for source hidden internally. If asking for
source-only discs, they will simply be built using all the
available sources. If combined with other arches, the sources will
automatically be chosen to match the binary packages. Meeting GPL
requirements was never so easy!
* Removed lots of old cruft to clean up the codebase:
+ non-US support
+ woody support
+ lots of old support scripts that have been made redundant
+ significantly simpler Makefile, much easier to follow
+ old boot-$ARCH.calc files for estimating boot-file sizes are now
(obviously) obsolete and therefore gone
2006-12-07 22:09:01 -01:00
|
|
|
# CUSTOM: up to you - specify a size to go with it (in 2K blocks)
|
2006-12-19 00:58:41 -01:00
|
|
|
export DISKTYPE=CD
|
Merge of changes from Steve's development branch to take us to
debian-cd version 3.0.0. Highlights:
* Support now added for multi-arch CDs/DVDs, including mixed
binary/source discs. Multi-arch discs should be bootable on those
multiple arches, modulo boot-sector clashes. Extra support added
in boot-i386 and boot-amd64 to make the 2 main arches happily
co-exist.
* Disc sizing is now much more intelligent - sizes are defined
depending on the disk type chosen at the start, and discs are now
filled exactly to those sizes while files are added rather than
the old up-front guessing method. Equally, the metadata on the
disc (Packages, Packages.gz, Sources, Sources.gz, md5sums.txt) is
generated as much as possible while this is happening to make the
sizing code incredibly accurate. Using this method of disc sizing
means that customising discs should be much easier/safer - either
add custom contents at the start and debian-cd will fill the
remainder of the disc, or afterwards roll back the packages on the
disc and add extras later.
* Source is now treated as (almost) just another arch, with most of
the special casing for source hidden internally. If asking for
source-only discs, they will simply be built using all the
available sources. If combined with other arches, the sources will
automatically be chosen to match the binary packages. Meeting GPL
requirements was never so easy!
* Removed lots of old cruft to clean up the codebase:
+ non-US support
+ woody support
+ lots of old support scripts that have been made redundant
+ significantly simpler Makefile, much easier to follow
+ old boot-$ARCH.calc files for estimating boot-file sizes are now
(obviously) obsolete and therefore gone
2006-12-07 22:09:01 -01:00
|
|
|
#export DISKTYPE=CUSTOM
|
|
|
|
#export CUSTOMSIZE=XXXX
|
2006-11-27 02:19:31 -01:00
|
|
|
|
2008-12-05 13:12:10 -01:00
|
|
|
# List of languages for which language tasks from tasksel should be
|
|
|
|
# included. See tasks/README.tasksel for further info.
|
|
|
|
export TASK_LANGLIST=tasksel_d-i.languages
|
|
|
|
|
2009-08-09 14:32:55 +00:00
|
|
|
# Extra variants to enable. See docs/README.variants for more information.
|
2010-09-29 13:13:04 +00:00
|
|
|
export VARIANTS=
|
2009-08-09 14:32:55 +00:00
|
|
|
|
2001-04-24 20:30:54 +00:00
|
|
|
# We don't want certain packages to take up space on CD1...
|
2008-11-13 22:19:30 -01:00
|
|
|
#export EXCLUDE1=exclude
|
2006-12-29 04:59:45 -01:00
|
|
|
# ...but they are okay for other CDs (UNEXCLUDEx == may be included
|
|
|
|
# on CD x if not already covered)
|
2008-11-13 22:19:30 -01:00
|
|
|
#export UNEXCLUDE2=unexclude-CD2
|
2008-11-13 22:19:35 -01:00
|
|
|
# Any packages listed in EXCLUDEx but not in any UNEXCLUDE will be
|
|
|
|
# excluded completely. The same goes for packages listed in EXCLUDE.
|
2001-04-24 20:30:54 +00:00
|
|
|
|
2002-03-25 09:03:53 -01:00
|
|
|
# Set this if the recommended packages should be skipped when adding
|
2010-09-29 13:13:04 +00:00
|
|
|
# package on the CD. The default is 'true'.
|
|
|
|
# export NORECOMMENDS=1
|
2002-01-28 22:00:17 -01:00
|
|
|
|
2002-03-25 09:03:53 -01:00
|
|
|
# Set this if the suggested packages should be skipped when adding
|
|
|
|
# package on the CD. The default is 'true'.
|
2010-09-29 13:13:04 +00:00
|
|
|
# export NOSUGGESTS=1
|
2002-03-25 09:03:53 -01:00
|
|
|
|
2010-05-27 00:52:25 +00:00
|
|
|
# Set to 1 to generate MD5/SHA1/SHA256/SHA512 sums for generated images
|
2008-09-20 19:36:42 +00:00
|
|
|
export IMAGESUMS=1
|
|
|
|
|
2010-05-27 00:52:25 +00:00
|
|
|
# And define the set of checksum algorithms you want here. Default is
|
|
|
|
# all of: md5 sha1 sha512 sha256
|
|
|
|
# export CHECKSUMS="md5 sha1 sha512 sha256"
|
|
|
|
|
2008-11-23 17:19:25 -01:00
|
|
|
# We may have to extract files from packages to put them onto the CD
|
|
|
|
# (e.g. bootloader files). If you make those packages (and their
|
|
|
|
# sources) available somewhere, list it here so that README.source
|
|
|
|
# can point to it
|
|
|
|
export ARCHIVE_EXTRACTED_SOURCES="http://cdimage.debian.org/cdimage/cd-sources/"
|
|
|
|
|
2008-09-10 22:16:18 +00:00
|
|
|
# Produce iso/jigdo files: specify how many iso/jigdo files should be
|
2008-10-14 08:21:57 +00:00
|
|
|
# produced in your set. If not set or when the value is "ALL" they will
|
|
|
|
# be created for all images. One of the variables can be set to zero if
|
2010-02-21 20:27:50 -01:00
|
|
|
# either iso or jigdo files are not wanted.
|
2008-10-14 08:21:57 +00:00
|
|
|
# Replaces the old "DOJIGDO" setting with something much more flexible.
|
|
|
|
#export MAXISOS=0
|
|
|
|
#export MAXJIGDOS=0
|
Merge of changes from Steve's development branch to take us to
debian-cd version 3.0.0. Highlights:
* Support now added for multi-arch CDs/DVDs, including mixed
binary/source discs. Multi-arch discs should be bootable on those
multiple arches, modulo boot-sector clashes. Extra support added
in boot-i386 and boot-amd64 to make the 2 main arches happily
co-exist.
* Disc sizing is now much more intelligent - sizes are defined
depending on the disk type chosen at the start, and discs are now
filled exactly to those sizes while files are added rather than
the old up-front guessing method. Equally, the metadata on the
disc (Packages, Packages.gz, Sources, Sources.gz, md5sums.txt) is
generated as much as possible while this is happening to make the
sizing code incredibly accurate. Using this method of disc sizing
means that customising discs should be much easier/safer - either
add custom contents at the start and debian-cd will fill the
remainder of the disc, or afterwards roll back the packages on the
disc and add extras later.
* Source is now treated as (almost) just another arch, with most of
the special casing for source hidden internally. If asking for
source-only discs, they will simply be built using all the
available sources. If combined with other arches, the sources will
automatically be chosen to match the binary packages. Meeting GPL
requirements was never so easy!
* Removed lots of old cruft to clean up the codebase:
+ non-US support
+ woody support
+ lots of old support scripts that have been made redundant
+ significantly simpler Makefile, much easier to follow
+ old boot-$ARCH.calc files for estimating boot-file sizes are now
(obviously) obsolete and therefore gone
2006-12-07 22:09:01 -01:00
|
|
|
|
2003-12-18 09:22:38 -01:00
|
|
|
# HTTP/FTP URL for directory where you intend to make the templates
|
|
|
|
# available. You should not need to change this; the default value ""
|
|
|
|
# means "template in same dir as the .jigdo file", which is usually
|
|
|
|
# correct. If it is non-empty, it needs a trailing slash. "%ARCH%"
|
|
|
|
# will be substituted by the current architecture.
|
|
|
|
#export JIGDOTEMPLATEURL=""
|
|
|
|
#
|
|
|
|
# Name of a directory on disc to create data for a fallback server in.
|
|
|
|
# Should later be made available by you at the URL given in
|
|
|
|
# JIGDOFALLBACKURLS. In the directory, two subdirs named "Debian" and
|
|
|
|
# "Non-US" will be created, and filled with hard links to the actual
|
|
|
|
# files in your FTP archive. Because of the hard links, the dir must
|
|
|
|
# be on the same partition as the FTP archive! If unset, no fallback
|
|
|
|
# data is created, which may cause problems - see README.
|
|
|
|
#export JIGDOFALLBACKPATH="$(OUT)/snapshot/"
|
|
|
|
#
|
|
|
|
# Space-separated list of label->URL mappings for "jigdo fallback
|
|
|
|
# server(s)" to add to .jigdo file. If unset, no fallback URL is
|
|
|
|
# added, which may cause problems - see README.
|
|
|
|
#export JIGDOFALLBACKURLS="Debian=http://myserver/snapshot/Debian/ Non-US=http://myserver/snapshot/Non-US/"
|
|
|
|
#
|
|
|
|
# Space-separated list of "include URLs" to add to the .jigdo file.
|
|
|
|
# The included files are used to provide an up-to-date list of Debian
|
|
|
|
# mirrors to the jigdo _GUI_application_ (_jigdo-lite_ doesn't support
|
|
|
|
# "[Include ...]").
|
|
|
|
export JIGDOINCLUDEURLS="http://cdimage.debian.org/debian-cd/debian-servers.jigdo"
|
|
|
|
#
|
|
|
|
# $JIGDOTEMPLATEURL and $JIGDOINCLUDEURLS are passed to
|
|
|
|
# "tools/jigdo_header", which is used by default to generate the
|
|
|
|
# [Image] and [Servers] sections of the .jigdo file. You can provide
|
|
|
|
# your own script if you need the .jigdo file to contain different
|
|
|
|
# data.
|
|
|
|
#export JIGDOSCRIPT="myscript"
|
2002-05-05 12:08:27 +00:00
|
|
|
|
2003-12-18 09:22:38 -01:00
|
|
|
# A couple of things used only by publish_cds, so it can tweak the
|
|
|
|
# jigdo files, and knows where to put the results.
|
|
|
|
# You need to run publish_cds manually, it is not run by the Makefile.
|
2002-05-06 10:23:32 +00:00
|
|
|
export PUBLISH_URL="http://cdimage.debian.org/jigdo-area"
|
|
|
|
export PUBLISH_PATH="/home/jigdo-area/"
|
|
|
|
|
2005-12-06 23:28:18 -01:00
|
|
|
# Specify files and directories to *exclude* from jigdo processing. These
|
|
|
|
# files on each CD are expected to be different to those on the mirror, or
|
|
|
|
# are often subject to change. Any files matching entries in this list will
|
|
|
|
# simply be placed straight into the template file.
|
|
|
|
export JIGDO_EXCLUDE="'README*' /doc/ /md5sum.txt /.disk/ /pics/ 'Release*' 'Packages*' 'Sources*'"
|
|
|
|
|
|
|
|
# Specify files that MUST match entries in the externally-supplied
|
|
|
|
# md5-list. If they do not, the CD build process will fail; something
|
|
|
|
# must have been corrupted. Replaces the old mirrorcheck code.
|
|
|
|
export JIGDO_INCLUDE="/pool/"
|
|
|
|
|
|
|
|
# Specify the minimum file size to consider for jigdo processing. Any files
|
|
|
|
# smaller than this will simply be placed straight into the template file.
|
2010-12-27 18:29:16 -01:00
|
|
|
export JIGDO_OPTS="-jigdo-min-file-size 1024"
|
2005-12-06 23:28:18 -01:00
|
|
|
|
2006-12-18 14:14:49 -01:00
|
|
|
for EXCL in $JIGDO_EXCLUDE; do
|
|
|
|
JIGDO_OPTS="$JIGDO_OPTS -jigdo-exclude $EXCL"
|
2005-12-06 23:28:18 -01:00
|
|
|
done
|
|
|
|
|
2006-12-18 14:14:49 -01:00
|
|
|
for INCL in $JIGDO_INCLUDE; do
|
|
|
|
JIGDO_OPTS="$JIGDO_OPTS -jigdo-force-md5 $INCL"
|
2005-12-06 23:28:18 -01:00
|
|
|
done
|
|
|
|
|
2003-05-02 12:55:21 +00:00
|
|
|
# File with list of packages to include when fetching modules for the
|
|
|
|
# first stage installer (debian-installer). One package per line.
|
|
|
|
# Lines starting with '#' are comments. The package order is
|
|
|
|
# important, as the packages will be installed in the given order.
|
|
|
|
#export UDEB_INCLUDE="$BASEDIR"/data/$CODENAME/udeb_include
|
|
|
|
|
|
|
|
# File with list of packages to exclude as above.
|
|
|
|
#export UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude
|
|
|
|
|
2002-12-14 12:53:18 -01:00
|
|
|
# File with list of packages to include when running debootstrap from
|
|
|
|
# the first stage installer (currently only supported in
|
|
|
|
# debian-installer). One package per line. Lines starting with '#'
|
2003-05-02 12:55:21 +00:00
|
|
|
# are comments. The package order is important, as the packages will
|
|
|
|
# be installed in the given order.
|
2002-12-14 12:53:18 -01:00
|
|
|
#export BASE_INCLUDE="$BASEDIR"/data/$CODENAME/base_include
|
|
|
|
|
|
|
|
# File with list of packages to exclude as above.
|
|
|
|
#export BASE_EXCLUDE="$BASEDIR"/data/$CODENAME/base_exclude
|
2002-12-26 09:39:02 -01:00
|
|
|
|
2007-01-24 13:43:44 -01:00
|
|
|
# Only put the installer onto the cd (set NORECOMMENDS,... as well,
|
2007-01-24 14:38:30 -01:00
|
|
|
# and if you're not using build.sh then also make sure you set TASK
|
|
|
|
# appropriately here)
|
2002-12-26 09:39:02 -01:00
|
|
|
# INSTALLER_CD=0: nothing special (default)
|
2008-11-13 22:19:30 -01:00
|
|
|
# INSTALLER_CD=1: just add debian-installer (use TASK=debian-installer)
|
|
|
|
# INSTALLER_CD=2: add d-i and base (use TASK=debian-installer+kernel)
|
2006-01-23 23:08:23 -01:00
|
|
|
#export INSTALLER_CD=2
|
2008-11-13 22:19:30 -01:00
|
|
|
#export TASK=debian-installer+kernel
|
2004-07-02 19:28:02 +00:00
|
|
|
|
2006-11-15 22:07:42 -01:00
|
|
|
# Parameters to pass to kernel (or d-i) when the CD boots. Not currently
|
|
|
|
# supported for all architectures.
|
2004-07-03 00:48:28 +00:00
|
|
|
#export KERNEL_PARAMS="DEBCONF_PRIORITY=critical"
|
|
|
|
|
2008-07-29 17:29:32 +00:00
|
|
|
# Default desktop (currently only used by win32-loader)
|
|
|
|
#export DESKTOP=kde
|
|
|
|
|
2010-02-21 20:27:50 -01:00
|
|
|
# If set, limits the number of images to produce. The maximum
|
|
|
|
# value of MAXISOS and MAXJIGDOS are limited to this setting.
|
2007-12-11 20:51:36 -01:00
|
|
|
#export MAXCDS=1
|
2004-07-15 23:07:06 +00:00
|
|
|
|
2004-09-07 16:52:25 +00:00
|
|
|
# If set, overrides the boot picture used.
|
|
|
|
#export SPLASHPNG="$BASEDIR/data/$CODENAME/splash-img.png"
|
|
|
|
|
2005-03-03 01:03:45 -01:00
|
|
|
# Set to 1 to save space by omitting the installation manual.
|
|
|
|
# If so the README will link to the manual on the web site.
|
|
|
|
#export OMIT_MANUAL=1
|
2005-06-04 14:36:59 +00:00
|
|
|
|
|
|
|
# Set to 1 to save space by omitting the release notes
|
|
|
|
# If so we will link to them on the web site.
|
2006-01-23 23:08:23 -01:00
|
|
|
export OMIT_RELEASE_NOTES=1
|
2005-06-04 14:36:59 +00:00
|
|
|
|
2010-09-29 13:13:04 +00:00
|
|
|
# Set this to override the default location
|
|
|
|
#export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$CODENAME"
|
|
|
|
|
2008-03-05 20:17:42 -01:00
|
|
|
# Set to 1 to not include the doc/tools directories on CD1
|
|
|
|
# Useful to save space and avoids failures if you have a mirror
|
|
|
|
# without those directories.
|
|
|
|
#export OMIT_DOC_TOOLS=1
|
|
|
|
|
2006-12-18 14:14:49 -01:00
|
|
|
case "$OFFICIAL" in
|
|
|
|
"Official")
|
|
|
|
export OFFICIAL_VAL=2
|
|
|
|
;;
|
|
|
|
"Official Beta")
|
|
|
|
export OFFICIAL_VAL=1
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
export OFFICIAL_VAL=0
|
|
|
|
;;
|
2006-10-05 23:08:09 +00:00
|
|
|
esac
|
2006-12-19 00:58:41 -01:00
|
|
|
|
2007-05-12 00:33:34 +00:00
|
|
|
# Set this to force the Release file(s) to say "stable". Used in first
|
|
|
|
# Etch builds to allow us to build before the archive updated
|
|
|
|
#EARLY_BUILD_HACK=1
|
|
|
|
|
2006-12-19 00:58:41 -01:00
|
|
|
##################################
|
|
|
|
# LOCAL HOOK DEFINITIONS
|
|
|
|
##################################
|
|
|
|
#
|
|
|
|
# Set these to point to scripts/programs to be called at various
|
|
|
|
# points in the debian-cd image-making process. This is the ideal place
|
|
|
|
# to customise what's on the CDs, for example to add extra files or
|
|
|
|
# modify existing ones. Each will be called with the arguments in order:
|
|
|
|
#
|
|
|
|
# $TDIR (the temporary dir containing the build tree)
|
|
|
|
# $MIRROR (the location of the mirror)
|
|
|
|
# $DISKNUM (the image number in the set)
|
|
|
|
# $CDDIR (the root of the temp disc tree)
|
|
|
|
# $ARCHES (the set of architectures chosen)
|
|
|
|
#
|
|
|
|
# BE CAREFUL about what you do at each point: in the first couple of
|
|
|
|
# cases, files and directories you're looking to use may not exist yet,
|
|
|
|
# you may need to worry about adding entries into md5sum.txt yourself
|
|
|
|
# and (in the last couple of cases) if you add any extra files you may
|
|
|
|
# end up over-filling the disc. If you *do* need to add files at the end
|
|
|
|
# of the process, see RESERVED_BLOCKS_HOOK below. It's strongly
|
|
|
|
# recommended to do this kind of customisation up-front if you can, it's
|
|
|
|
# much simpler that way!
|
|
|
|
|
|
|
|
# The disc_start hook. This will be called near the beginning of the
|
|
|
|
# start_new_disc script, just after the directory tree has been created
|
|
|
|
# but before any files have been added
|
|
|
|
#export DISC_START_HOOK=/bin/true
|
|
|
|
|
|
|
|
# The disc_pkg hook. This will be called just after the
|
|
|
|
# start_new_disc script has finished, just before make_disc_trees.pl
|
|
|
|
# starts to add package files.
|
|
|
|
#export DISC_PKG_HOOK=/bin/true
|
|
|
|
|
|
|
|
# The reserved_blocks hook; if set, this script should print the
|
|
|
|
# number of 2K blocks that need to be reserved for data to be added
|
|
|
|
# *after* a disc tree is filled with packages.
|
|
|
|
#export RESERVED_BLOCKS_HOOK=/bin/true
|
|
|
|
|
|
|
|
# The disc_finish hook. This will be called once a disc image is full,
|
|
|
|
# just after the last package rollback but before the last bits of
|
|
|
|
# cleanup are done on the temp disc tree
|
|
|
|
#export DISC_FINISH_HOOK=/bin/true
|
|
|
|
|
|
|
|
# The disc_end hook. This will be called *right* at the end of the
|
|
|
|
# image-making process in make_disc_trees.pl.
|
|
|
|
#export DISC_END_HOOK=/bin/true
|