From ce08a9fb28c3f66accaf8ddc8c48e5052b484582 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 12 Jun 2010 16:03:34 +0200 Subject: [PATCH] * util/grub-mkrescue.in: Pass unrecognized options to xorriso. --- ChangeLog | 4 ++++ util/grub-mkrescue.in | 10 ++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index aababc845..34823d8b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-06-12 Thomas Schmitt + + * util/grub-mkrescue.in: Pass unrecognized options to xorriso. + 2010-06-12 Colin Watson Avoid false positives in fs.lst, partmap.lst, and video.lst due to diff --git a/util/grub-mkrescue.in b/util/grub-mkrescue.in index 90c031882..f8445a1e3 100644 --- a/util/grub-mkrescue.in +++ b/util/grub-mkrescue.in @@ -59,9 +59,12 @@ Make GRUB rescue image. --xorriso=FILE use FILE as xorriso [optional] --grub-mkimage=FILE use FILE as grub-mkimage -$self generates a bootable rescue image with specified source files or directories. +$self generates a bootable rescue image with specified source files, source +directories, or mkisofs options listed by: xorriso -as mkisofs -help +Option -- switches to native xorriso command mode. or directories. Report bugs to . +Mail xorriso support requests to . EOF } @@ -90,11 +93,6 @@ for option in "$@"; do grub_mkimage=`echo "$option" | sed 's/--grub-mkimage=//'` ;; --xorriso=*) xorriso=`echo "${option}/" | sed 's/--xorriso=//'` ;; - -*) - echo "Unrecognized option \`$option'" 1>&2 - usage - exit 1 - ;; *) source="${source} ${option}" ;; esac