# # This file will have to be sourced where needed # # Unset all optional variables first to start from a clean state unset NONFREE || true unset CONTRIB || true unset EXTRANONFREE || true unset RESTRICTED || true unset UNIVERSE || true unset MULTIVERSE || true unset SECURED || true unset GPG_HOMEDIR || true unset SIGNING_KEYID || true unset BOOTDIR || true unset SYMLINK || true unset COPYLINK || true unset MKISOFS || true unset MKISOFS_OPTS || true unset ISOLINUX || true unset EXCLUDE || true unset FASTSUMS || true unset OMIT_MANUAL || true unset OMIT_RELEASE_NOTES || true if [ -z "$PROJECT" ]; then PROJECT=ubuntu fi if [ -z "$CAPPROJECT" ]; then CAPPROJECT="$(echo "$PROJECT" | perl -ne 'print ucfirst')" fi if [ -z "$DIST" ]; then DIST=karmic fi # The debian-cd dir # Where I am (hoping I'm in the debian-cd dir) export BASEDIR=`pwd` case $DIST in trusty) export CAPCODENAME='Trusty Tahr' export DEBVERSION="14.04.6 LTS" export BACKPORT_KERNEL=xenial export OFFICIAL="Release" ;; xenial) export CAPCODENAME='Xenial Xerus' export DEBVERSION="16.04.7 LTS" export BACKPORT_KERNEL="hwe-16.04" export OFFICIAL="Release" ;; bionic) export CAPCODENAME='Bionic Beaver' export DEBVERSION="18.04.6 LTS" export BACKPORT_KERNEL="hwe-18.04" export OFFICIAL="Release" ;; focal) export CAPCODENAME='Focal Fossa' export DEBVERSION="20.04.6 LTS" export BACKPORT_KERNEL="hwe-20.04" export OFFICIAL="Release" ;; jammy) export CAPCODENAME='Jammy Jellyfish' export DEBVERSION="22.04.5 LTS" export OFFICIAL="Release" ;; lunar) export CAPCODENAME='Lunar Lobster' export DEBVERSION="23.04" export OFFICIAL="Release" ;; mantic) export CAPCODENAME='Mantic Minotaur' export DEBVERSION="23.10.1" export OFFICIAL="Release" ;; noble) export CAPCODENAME='Noble Numbat' export DEBVERSION="24.04.3 LTS" export OFFICIAL="Release" ;; oracular) export CAPCODENAME='Oracular Oriole' export DEBVERSION="24.10" export OFFICIAL="Release" ;; plucky) export CAPCODENAME='Plucky Puffin' export DEBVERSION="25.04" export OFFICIAL="Release" ;; questing) export CAPCODENAME='Questing Quokka' export DEBVERSION="25.10" export OFFICIAL="Daily" ;; esac # 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. #export DI_WWW_HOME=default # installer for properly uploaded debian-installer builds, daily-installer # for autobuilt dailies. The newest available version is selected # automatically; this is an override. #export DI_TYPE=installer # ... for arch export ARCH=`dpkg --print-architecture` export FULLARCH=$ARCH${SUBARCH:++$SUBARCH} # cdimage supports running in subtrees, so handle that path as well export SUBTREE=${CDIMAGE_SUBTREE:+$CDIMAGE_SUBTREE/} # Path of the temporary directory export TDIR=$CDIMAGE_ROOT/scratch/$SUBTREE$PROJECT/$DIST/$IMAGE_TYPE/tmp # Path where the images will be written export OUT=$CDIMAGE_ROOT/scratch/$SUBTREE$PROJECT/$DIST/$IMAGE_TYPE/debian-cd # Where extracted debootstrap scripts live export DEBOOTSTRAP=$CDIMAGE_ROOT/scratch/$SUBTREE$PROJECT/$DIST/$IMAGE_TYPE/debootstrap # Where live filesystem images live export LIVEIMAGES=$CDIMAGE_ROOT/scratch/$SUBTREE$PROJECT/$DIST/$IMAGE_TYPE/live # Do I want to have NONFREE merged in the CD set # export NONFREE=1 # Do I want to have CONTRIB merged in the CD set #export CONTRIB=1 # 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 if [ -z "$CDIMAGE_ONLYFREE" ]; then export RESTRICTED=1 fi if [ "$CDIMAGE_UNSUPPORTED" ]; then export UNIVERSE=1 if [ -z "$CDIMAGE_ONLYFREE" ]; then export MULTIVERSE=1 fi fi case $DIST in warty) ;; hoary|breezy|dapper|edgy|feisty|gutsy|hardy|intrepid|jaunty|karmic|lucid|maverick|natty|oneiric|precise|quantal|raring|saucy|trusty|utopic|vivid|wily) export GPG_HOMEDIR=$CDIMAGE_ROOT/secret/dot-gnupg/ export SIGNING_KEYID=C5986B4F1257FFA86632CBA746181433FBB75451 ;; *) export GPG_HOMEDIR=$CDIMAGE_ROOT/secret/dot-gnupg/ export SIGNING_KEYID=843938DF228D22F7B3742BC0D94AA3F0EFE21092 ;; esac # Use post-release updates? export UPDATES=1 # Sparc only : bootdir (location of cd.b and second.b) # export BOOTDIR=/boot # Symlink farmers should uncomment this line : # 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 # Options # export MKISOFS=/usr/bin/mkisofs # export MKISOFS_OPTS="-r" #For normal users # export MKISOFS_OPTS="-r -F ." #For symlink farmers # 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" export amd64_MKISOFS="xorriso" export amd64_MKISOFS_OPTS="-as mkisofs -r -iso-level 3" export arm64_MKISOFS="xorriso" export arm64_MKISOFS_OPTS="-as mkisofs -r" case $DIST in bionic|focal) # temporary hack until such time as we can upgrade all builds to 1.4.2 new_xorriso="/home/cdimage/xorriso/xorriso-1.2.4/xorriso/xorriso" if [ -x "$new_xorriso" ]; then export amd64_MKISOFS="$new_xorriso" export arm64_MKISOFS="$new_xorriso" fi ;; *) # switch to modern xorriso for all arches export MKISOFS=xorriso export MKISOFS_OPTS="-as mkisofs -r" ;; esac # ISOLinux support for multiboot on CD1 for i386 export ISOLINUX=1 # uncomment this to if you want to see more of what the Makefile is doing #export VERBOSE_MAKE=1 # uncoment this to make build_all.sh try to build a simple CD image if # the proper official CD run does not work #ATTEMPT_FALLBACK=yes # Image format: # iso = Output an image in ISO 9660 format (.iso) # img = Output a raw partitioned disk image (.img) if [ -z "$IMAGE_FORMAT" ]; then export IMAGE_FORMAT=iso fi # If set, use the md5sums from the main archive, rather than calculating # them locally export FASTSUMS=1 # Parameters to pass to kernel when the CD boots. Not currently supported # for all architectures. #export KERNEL_PARAMS="priority=critical" # If set, overrides the boot picture used. if [ -z "$SPLASHRLE" ]; then export SPLASHRLE="$BASEDIR/data/$DIST/splash.rle" fi if [ -z "$GFXSPLASH" ]; then export GFXSPLASH="$BASEDIR/data/$DIST/splash.pcx" fi if [ -z "$SPLASHPNG" ]; then export SPLASHPNG="$BASEDIR/data/$DIST/splash.png" fi # Used by build.sh to determine what to build, this is the name of a target # in the Makefile. Use bin-official_images to build only binary CDs. The # default, official_images, builds everything. IMAGETARGET=bin-official_images # 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 # Set to 1 to save space by omitting the release notes # If so we will link to them on the web site. export OMIT_RELEASE_NOTES=0 # Set this to override the defaul location #export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$DIST" COMPLETE=0