Tweak the Volume ID and disk info output slightly for netinst media
Closes: #858031
This commit is contained in:
parent
d27ad83a12
commit
d1e5b47a45
|
@ -11,6 +11,8 @@ debian-cd (3.1.20) UNRELEASED; urgency=medium
|
|||
* Add reportbug to tasks/forcd1 - make it easier for users to report
|
||||
installation problems. Closes: #861288
|
||||
* Ensure that arm64 images include grub-efi packages
|
||||
* Tweak the Volume ID and disk info output slightly for netinst media.
|
||||
Closes: #858031
|
||||
|
||||
[ Samuel Thibault ]
|
||||
* Add support for grub submenu hotkeys.
|
||||
|
|
|
@ -54,18 +54,25 @@ 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 [ $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"
|
||||
fi
|
||||
case "$ARCHES" in
|
||||
powerpc)
|
||||
export VOLID="$VOLID_BASE ppc $DISKNUM" ;;
|
||||
export VOLID="$VOLID_BASE ppc $DISKNUMSTRING" ;;
|
||||
kfreebsd-i386)
|
||||
export VOLID="$VOLID_BASE f-i386 $DISKNUM" ;;
|
||||
export VOLID="$VOLID_BASE f-i386 $DISKNUMSTRING" ;;
|
||||
kfreebsd-amd64)
|
||||
export VOLID="$VOLID_BASE f-amd64 $DISKNUM" ;;
|
||||
export VOLID="$VOLID_BASE f-amd64 $DISKNUMSTRING" ;;
|
||||
hurd-i386)
|
||||
export VOLID="$VOLID_BASE h-i386 $DISKNUM" ;;
|
||||
export VOLID="$VOLID_BASE h-i386 $DISKNUMSTRING" ;;
|
||||
*)
|
||||
export VOLID="$VOLID_BASE $ARCHES $DISKNUM" ;;
|
||||
export VOLID="$VOLID_BASE $ARCHES $DISKNUMSTRING" ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue