From 884b7d89122ad13cfd66d122d192f3e5ac87321e Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Thu, 15 Feb 2024 01:42:12 +0000 Subject: [PATCH] Fix counting of images at build time Closes: #1063858 (cherry picked from commit 64c59791cf6d6bd2887221dd96a26f1fdf620639) --- debian/changelog | 2 +- tools/make_image | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 20852273..f95a0bd6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,12 +2,12 @@ debian-cd (3.1.35+deb11u1) UNRELEASED; urgency=medium [ Steve McIntyre ] Backports from master for bullseye builds: - * Use $CODENAME/updates for security pre-bullseye, or $CODENAME-security for bullseye onwards. * Tweak grub boot menu highlight graphics to work again - switch from greyscale to colour, as newer grub has removed greyscale PNG support.. Closes: #1013079, #1013432. + * Fix counting of images at build time. Closes: #1063858 -- Steve McIntyre <93sam@debian.org> Mon, 26 Jul 2021 01:02:03 +0100 diff --git a/tools/make_image b/tools/make_image index c99a4214..95028692 100755 --- a/tools/make_image +++ b/tools/make_image @@ -19,13 +19,11 @@ NUM_ARCHES=`echo $ARCHES | wc -w` if [ "$CD"x = ""x ] ; then echo "Generating the $ARCHES iso/jigdo images ..." - FILES=$DIR/*.volid else echo "Generating $ARCHES iso/jigdo image number $CD ..." - FILES=$DIR/$CD.volid fi -NUM_CDS=`ls -1 $FILES | wc -l` +NUM_CDS=$(ls -1 $DIR/*.volid | wc -l) last_minute_update () { echo " Last-minute updates:"