From 273cd3631d9e601bcc2e91656365619b927dc7f5 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Tue, 26 Nov 2024 13:35:59 +0100 Subject: [PATCH] grml-live: remove xorriso version check Debian bullseye has xorriso 1.5.0-1, so this check is long obsolete. --- grml-live | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/grml-live b/grml-live index 51ef1f66..5a87a300 100755 --- a/grml-live +++ b/grml-live @@ -1627,19 +1627,14 @@ else amd64) eindent - if ! dpkg --compare-versions $(dpkg-query -W -f='${Version}\n' xorriso 2>/dev/null) gt-nl 1.1.6-1 ; then - log "Disabling (U)EFI boot support because xorriso version is too old." - ewarn "Disabling (U)EFI boot support because xorriso version is too old." ; eend 0 + if [ -r "${BUILD_OUTPUT}"/boot/efi.img ] ; then + einfo "Enabling (U)EFI boot." + log "Enabling (U)EFI boot." + BOOT_ARGS="$BOOT_ARGS -boot-info-table -eltorito-alt-boot -e boot/efi.img -no-emul-boot" + eend $? else - if [ -r "${BUILD_OUTPUT}"/boot/efi.img ] ; then - einfo "Enabling (U)EFI boot." - log "Enabling (U)EFI boot." - BOOT_ARGS="$BOOT_ARGS -boot-info-table -eltorito-alt-boot -e boot/efi.img -no-emul-boot" - eend $? - else - log "Disabling (U)EFI boot support because /boot/efi.img is missing." - ewarn "Disabling (U)EFI boot support because /boot/efi.img is missing." ; eend 0 - fi + log "Disabling (U)EFI boot support because /boot/efi.img is missing." + ewarn "Disabling (U)EFI boot support because /boot/efi.img is missing." ; eend 0 fi eoutdent