List the number of grub boot entries added, as extra debug

This commit is contained in:
Steve McIntyre 2015-11-25 23:49:19 +00:00
parent 14c1bbb1c5
commit 9d3c82d14d
1 changed files with 2 additions and 0 deletions

View File

@ -477,6 +477,8 @@ if [ -d boot$N/isolinux/grub ] && [ $BOOT_EFI -ne 0 ] ; then
$BASEDIR/tools/boot/$DI_CODENAME/parse_isolinux \
boot$N/isolinux $CDDIR $BASEDIR/data/$DI_CODENAME/grub-theme.in "$DISKINFO_DISTRO" "$DEBIAN_KERNEL" "$DEBVERSION" \
>> $CDDIR/boot/grub/grub.cfg
NUM_ENTRIES=$(grep menuentry $CDDIR/boot/grub/grub.cfg | wc -l)
echo " CD$N/boot/grub/grub.cfg has $NUM_ENTRIES boot entries defined"
# Stuff the EFI boot files into a FAT filesystem, making it as
# small as possible. 24KiB headroom seems to be enough;