* util/grub-mkrescue.in: Pass unrecognized options to xorriso.

This commit is contained in:
Thomas Schmitt 2010-06-12 16:03:34 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 7beac90c5f
commit ce08a9fb28
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2010-06-12 Thomas Schmitt <scdbackup@gmx.net>
* util/grub-mkrescue.in: Pass unrecognized options to xorriso.
2010-06-12 Colin Watson <cjwatson@ubuntu.com>
Avoid false positives in fs.lst, partmap.lst, and video.lst due to

View File

@ -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 <bug-grub@gnu.org>.
Mail xorriso support requests to <bug-xorriso@gnu.org>.
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