Version in base suite: 0.76 Base version: di-netboot-assistant_0.76 Target version: di-netboot-assistant_0.78~deb12u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/d/di-netboot-assistant/di-netboot-assistant_0.76.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/d/di-netboot-assistant/di-netboot-assistant_0.78~deb12u1.dsc config/grub.cfg.HEAD | 2 +- debian/changelog | 7 +++++++ di-netboot-assistant | 19 ++++++++++--------- examples/preseed.cfg | 10 ++++++---- 4 files changed, 24 insertions(+), 14 deletions(-) diff -Nru di-netboot-assistant-0.76/config/grub.cfg.HEAD di-netboot-assistant-0.78~deb12u1/config/grub.cfg.HEAD --- di-netboot-assistant-0.76/config/grub.cfg.HEAD 2023-03-16 16:05:12.000000000 +0000 +++ di-netboot-assistant-0.78~deb12u1/config/grub.cfg.HEAD 2023-06-18 07:11:47.000000000 +0000 @@ -18,7 +18,7 @@ set default='Boot from local disk..' #set timeout=10 -if background_image /d-i/n-pkg/images/11/amd64/text/debian-installer/amd64/boot-screens/splash.png; then +if background_image /d-i/n-pkg/images/12/amd64/text/debian-installer/amd64/boot-screens/splash.png; then set color_normal=light-gray/black set color_highlight=white/black elif background_image /d-i/n-a/stable/amd64/boot-screens/splash.png; then diff -Nru di-netboot-assistant-0.76/debian/changelog di-netboot-assistant-0.78~deb12u1/debian/changelog --- di-netboot-assistant-0.76/debian/changelog 2023-03-16 16:05:12.000000000 +0000 +++ di-netboot-assistant-0.78~deb12u1/debian/changelog 2023-06-18 07:11:47.000000000 +0000 @@ -1,3 +1,10 @@ +di-netboot-assistant (0.78~deb12u1) bookworm; urgency=medium + + * Fixes for bookworm live iso image inclusion. + * Update/add/fix preseed examples. Thanks to Holger Wansing. + + -- Andreas B. Mundt Sun, 18 Jun 2023 09:11:47 +0200 + di-netboot-assistant (0.76) unstable; urgency=medium * Fix typo in preseeding example. diff -Nru di-netboot-assistant-0.76/di-netboot-assistant di-netboot-assistant-0.78~deb12u1/di-netboot-assistant --- di-netboot-assistant-0.76/di-netboot-assistant 2023-03-16 16:05:12.000000000 +0000 +++ di-netboot-assistant-0.78~deb12u1/di-netboot-assistant 2023-06-18 07:11:47.000000000 +0000 @@ -26,7 +26,7 @@ # ------------------ Declare the constants ------------------- # PACKAGE_NAME=di-netboot-assistant -PACKAGE_VERSION=0.76 +PACKAGE_VERSION=0.78 # -------------- Initialize the global variables ------------- # OFFLINE=false @@ -253,8 +253,8 @@ # Returns: (EXIT STATUS) 0=Success, 1=Error # ------------------------------------------------------------ # prepare_grub() { - local v="" opt=$1 VERS V GRUB AR DIR - + local v="" opt=$1 VERS V GRUB AR DIR + $VERBOSE && v="-v" [ -z "$opt" ] && [ -d $TFTP_ROOT/$N_A_DIR/grub ] && return 0 @@ -263,7 +263,7 @@ [ ! -e "$TFTP_ROOT/debian-installer" ] && \ ln -srv $TFTP_ROOT/$N_A_DIR/ $TFTP_ROOT/debian-installer - for AR in x64 aa64 ; do + for AR in x64 aa64 ; do ## We link bootnet*.efi and grub*.efi from the latest available image: echo "I: Preparing EFI executables for '${AR}'." GRUB="" @@ -533,7 +533,7 @@ EOF sed -i "s%\(\# END_PKG_LIVE_MENU.*\)%item $tag $title\n\1%" menu.ipxe - + for AR in amd64 arm64 ; do gcfg="${TFTP_ROOT}/${relpath}/debian-installer/${AR}/grub/grub.cfg" if [ -f "$gcfg" ] ; then @@ -560,7 +560,7 @@ relpath=$(dirname "$x" | sed -e "s#${TFTP_ROOT}##" -e "s#^/*##" -e "s#\/.disk##") # shellcheck disable=SC2034 ISO_NAME=$(basename "$relpath") - title=$(sed -e "s#Official ##" -e "s#T.*\$##" "$x") + title="$(sed -e "s#Official ##" -e "s#\(T\|-\)[0-9]\{2\}:[0-9]\{2\}\$##" "$x")" ## We cannot modify the iso images, copy grub.cfg instead: cfg="${TFTP_ROOT}/${relpath}/isolinux/menu.cfg" ncfgdir="live/pxe-${relpath//'/'/'_'}" @@ -578,9 +578,9 @@ EOF - tag="$(echo "$title" | cut -d ' ' -f4,5,6 | sed "s/ /_/g")" - linux="$(find "${TFTP_ROOT}/${relpath}/live/" -name 'vmlinuz*' -exec basename '{}' \; )" - initrd="$(find "${TFTP_ROOT}/${relpath}/live/" -name 'initrd*' -exec basename '{}' \; )" + tag="${ISO_NAME}-LiveISOImage" + linux="$(find "${TFTP_ROOT}/${relpath}/live/" -name 'vmlinuz*' -printf "%f" -quit)" + initrd="$(find "${TFTP_ROOT}/${relpath}/live/" -name 'initrd*' -printf "%f" -quit)" cat >> menu.ipxe < "${TFTP_ROOT}/$N_A_DIR/$ngcfg" sed -e "s#live#$relpath/live#" -e "s#isolinux#$relpath/isolinux#" \ -e "s#\"\${loopback}\"#fetch=$(eval echo "${SQUASHIMG}")#" \ + -e "s# findiso=\${iso_path}# fetch=$(eval echo "${SQUASHIMG}")#" \ "$gcfg" >> "$ngcfg" cat >> grub/grub.cfg <