[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] sbin/debian-edu-pxeinstall: Report progress of D-I provisioning to the admin.

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Mon Sep 28 09:23:43 BST 2026



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
8d803483 by Mike Gabriel at 2026-09-28T10:23:34+02:00
sbin/debian-edu-pxeinstall: Report progress of D-I provisioning to the admin.

- - - - -


1 changed file:

- sbin/debian-edu-pxeinstall


Changes:

=====================================
sbin/debian-edu-pxeinstall
=====================================
@@ -157,6 +157,8 @@ for arch in $archs ; do
 		(
 		cd $tftpdir/debian-installer
 
+		echo -n "Preparing Debian Edu ${di_ver} installer (${arch}) ... "
+
 		tarball=""
 		if [ -d /usr/lib/debian-installer/images/ ] && [ -n "$(find /usr/lib/debian-installer/images/ -mindepth 1 -maxdepth 1 -type d  2>/dev/null)" ]; then
 
@@ -224,12 +226,18 @@ for arch in $archs ; do
 			if [ ! -z "$theme" ] ; then
 				cp /usr/share/pixmaps/debian-edu-${di_ver}-installer-logo.png usr/share/graphics/logo_debian.png
 			fi
-			find . | cpio -H newc -o > ../initrd
+			find . | cpio -H newc -o 1> ../initrd 2>/dev/null
 			cd ..
 			gzip initrd
 			cp initrd.gz ${tftpdir}/debian-installer/${di_ver}/${arch}/
 			rm -rf $TMP
 		fi
+
+		if [ -e "${tftpdir}/debian-installer/${di_ver}/${arch}/initrd.gz" ]; then
+			echo "done."
+		else
+			echo "failed!"
+		fi
 		)
 	done
 done



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/8d80348399a8b0d14d4be635b55c6639e80b6f93

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/8d80348399a8b0d14d4be635b55c6639e80b6f93
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20260928/d6c99d9c/attachment-0001.htm>


More information about the debian-edu-commits mailing list