Add a "with firmware" text to the DISKINFO string when appropriate
This commit is contained in:
parent
cdb526bee3
commit
1cb025feb4
|
@ -55,12 +55,17 @@ if [ $NUM_ARCHES = 1 ] ; then
|
|||
*)
|
||||
BINARYDISK=1
|
||||
DISKNUMSTRING="$DISKNUM"
|
||||
export DISKINFO="$DISKINFO_DISTRO ${DEBIAN_KERNEL} $DEBVERSION \"$CAPCODENAME\" - $OFFICIAL $ARCHES $DISKTYPE Binary-$DISKNUM $BUILD_DATE"
|
||||
if [ "$FORCE_FIRMWARE"x = "1"x ] ; then
|
||||
FIRMWARE_TEXT=" with firmware"
|
||||
else
|
||||
FIRMWARE_TEXT=""
|
||||
fi
|
||||
export DISKINFO="$DISKINFO_DISTRO ${DEBIAN_KERNEL} $DEBVERSION \"$CAPCODENAME\" - $OFFICIAL $ARCHES $DISKTYPE Binary-${DISKNUM}${FIRMWARE_TEXT} $BUILD_DATE"
|
||||
if [ $DISKTYPE = NETINST ]; then
|
||||
# Use "n" as a "disknum" here, #858031
|
||||
DISKNUMSTRING="n"
|
||||
# Don't need a disknum here - only one netinst
|
||||
export DISKINFO="$DISKINFO_DISTRO ${DEBIAN_KERNEL} $DEBVERSION \"$CAPCODENAME\" - $OFFICIAL $ARCHES $DISKTYPE $BUILD_DATE"
|
||||
export DISKINFO="$DISKINFO_DISTRO ${DEBIAN_KERNEL} $DEBVERSION \"$CAPCODENAME\" - $OFFICIAL $ARCHES $DISKTYPE${FIRMWARE_TEXT} $BUILD_DATE"
|
||||
fi
|
||||
case "$ARCHES" in
|
||||
powerpc)
|
||||
|
|
Loading…
Reference in New Issue