Make use of MAXISOS and MAXJIGDOS more consistent
This commit is contained in:
parent
53a5657a7b
commit
d48db452d6
16
CONF.sh
16
CONF.sh
|
@ -43,6 +43,8 @@ unset BASE_INCLUDE || true
|
|||
unset BASE_EXCLUDE || true
|
||||
unset INSTALLER_CD || true
|
||||
unset MAXCDS || true
|
||||
unset MAXISOS || true
|
||||
unset MAXJIGDOS || true
|
||||
unset SPLASHPNG || true
|
||||
unset OMIT_MANUAL || true
|
||||
unset OMIT_RELEASE_NOTES || true
|
||||
|
@ -203,14 +205,12 @@ export NORECOMMENDS=1
|
|||
export IMAGESUMS=1
|
||||
|
||||
# Produce iso/jigdo files: specify how many iso/jigdo files should be
|
||||
# produced in your set, or "ALL". Replaces the old "DOJIGDO" setting
|
||||
# with something much more flexible
|
||||
if [ "$MAXISOS"x = ""x ] ; then
|
||||
export MAXISOS="ALL"
|
||||
fi
|
||||
if [ "$MAXJIGDOS"x = ""x ] ; then
|
||||
export MAXJIGDOS="ALL"
|
||||
fi
|
||||
# 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
|
||||
# either iso or jigdo files are not wanted, but not both.
|
||||
# Replaces the old "DOJIGDO" setting with something much more flexible.
|
||||
#export MAXISOS=0
|
||||
#export MAXJIGDOS=0
|
||||
|
||||
# HTTP/FTP URL for directory where you intend to make the templates
|
||||
# available. You should not need to change this; the default value ""
|
||||
|
|
23
build.sh
23
build.sh
|
@ -56,15 +56,28 @@ if [ -z "$IMAGETARGET" ] ; then
|
|||
fi
|
||||
echo " ... building the images; using target(s) \"$IMAGETARGET\""
|
||||
|
||||
NUMISOS="up to $MAXISOS"
|
||||
if [ "$MAXISOS"x = "all"x ] || [ "$MAXISOS"x = "ALL"x ] ; then
|
||||
if [ "$MAXISOS"x = ""x ] ; then
|
||||
export MAXISOS="ALL"
|
||||
fi
|
||||
if [ "$MAXJIGDOS"x = ""x ] ; then
|
||||
export MAXJIGDOS="ALL"
|
||||
fi
|
||||
|
||||
if [ "$MAXISOS" = "all" ] || [ "$MAXISOS" = "ALL" ] ; then
|
||||
NUMISOS="all available"
|
||||
elif [ "$MAXISOS" -eq 0 ] ; then
|
||||
NUMISOS="no"
|
||||
else
|
||||
NUMISOS="up to $MAXISOS"
|
||||
fi
|
||||
NUMJIGDOS="up to $MAXJIGDOS"
|
||||
if [ "$MAXJIGDOS"x = "all"x ] || [ "$MAXJIGDOS"x = "ALL"x ] ; then
|
||||
if [ "$MAXJIGDOS" = "all" ] || [ "$MAXJIGDOS" = "ALL" ] ; then
|
||||
NUMJIGDOS="all available"
|
||||
elif [ "$MAXJIGDOS" -eq 0 ] ; then
|
||||
NUMJIGDOS="no"
|
||||
else
|
||||
NUMJIGDOS="up to $MAXJIGDOS"
|
||||
fi
|
||||
echo "Building $NUMJIGDOS jigdos and $NUMISOS isos for $ARCH $DISKTYPE"
|
||||
echo "Building $NUMJIGDOS jigdos and $NUMISOS isos for $ARCHES $DISKTYPE"
|
||||
|
||||
make $IMAGETARGET
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ unset BASE_INCLUDE || true
|
|||
unset BASE_EXCLUDE || true
|
||||
unset INSTALLER_CD || true
|
||||
unset MAXCDS || true
|
||||
unset MAXISOS || true
|
||||
unset MAXJIGDOS || true
|
||||
unset SPLASHPNG || true
|
||||
unset OMIT_MANUAL || true
|
||||
unset OMIT_RELEASE_NOTES || true
|
||||
|
@ -203,14 +205,12 @@ export NORECOMMENDS=1
|
|||
export IMAGESUMS=1
|
||||
|
||||
# Produce iso/jigdo files: specify how many iso/jigdo files should be
|
||||
# produced in your set, or "ALL". Replaces the old "DOJIGDO" setting
|
||||
# with something much more flexible
|
||||
if [ "$MAXISOS"x = ""x ] ; then
|
||||
export MAXISOS="ALL"
|
||||
fi
|
||||
if [ "$MAXJIGDOS"x = ""x ] ; then
|
||||
export MAXJIGDOS="ALL"
|
||||
fi
|
||||
# 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
|
||||
# either iso or jigdo files are not wanted, but not both.
|
||||
# Replaces the old "DOJIGDO" setting with something much more flexible.
|
||||
#export MAXISOS=0
|
||||
#export MAXJIGDOS=0
|
||||
|
||||
# HTTP/FTP URL for directory where you intend to make the templates
|
||||
# available. You should not need to change this; the default value ""
|
||||
|
|
|
@ -70,12 +70,12 @@ do
|
|||
date
|
||||
|
||||
# Work out whether we want ISO, jigdo or both
|
||||
if [ "$MAXISOS" = "all" ] || [ "$MAXISOS" = "ALL" ] || [ "$n" -le "$MAXISOS" ] ; then
|
||||
if [ "$MAXISOS"x = ""x ] || [ "$MAXISOS" = "all" ] || [ "$MAXISOS" = "ALL" ] || [ "$n" -le "$MAXISOS" ] ; then
|
||||
ISO_WANTED=1
|
||||
else
|
||||
ISO_WANTED=0
|
||||
fi
|
||||
if [ "$MAXJIGDOS" = "all" ] || [ "$MAXJIGDOS" = "ALL" ] || [ "$n" -le "$MAXJIGDOS" ] ; then
|
||||
if [ "$MAXJIGDOS"x = ""x ] || [ "$MAXJIGDOS" = "all" ] || [ "$MAXJIGDOS" = "ALL" ] || [ "$n" -le "$MAXJIGDOS" ] ; then
|
||||
JIGDO_WANTED=1
|
||||
else
|
||||
JIGDO_WANTED=0
|
||||
|
|
Loading…
Reference in New Issue