* util/grub-mkrescue.in: Pass unrecognized options to xorriso.
This commit is contained in:
parent
7beac90c5f
commit
ce08a9fb28
2 changed files with 8 additions and 6 deletions
|
@ -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>
|
2010-06-12 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
Avoid false positives in fs.lst, partmap.lst, and video.lst due to
|
Avoid false positives in fs.lst, partmap.lst, and video.lst due to
|
||||||
|
|
|
@ -59,9 +59,12 @@ Make GRUB rescue image.
|
||||||
--xorriso=FILE use FILE as xorriso [optional]
|
--xorriso=FILE use FILE as xorriso [optional]
|
||||||
--grub-mkimage=FILE use FILE as grub-mkimage
|
--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>.
|
Report bugs to <bug-grub@gnu.org>.
|
||||||
|
Mail xorriso support requests to <bug-xorriso@gnu.org>.
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,11 +93,6 @@ for option in "$@"; do
|
||||||
grub_mkimage=`echo "$option" | sed 's/--grub-mkimage=//'` ;;
|
grub_mkimage=`echo "$option" | sed 's/--grub-mkimage=//'` ;;
|
||||||
--xorriso=*)
|
--xorriso=*)
|
||||||
xorriso=`echo "${option}/" | sed 's/--xorriso=//'` ;;
|
xorriso=`echo "${option}/" | sed 's/--xorriso=//'` ;;
|
||||||
-*)
|
|
||||||
echo "Unrecognized option \`$option'" 1>&2
|
|
||||||
usage
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
source="${source} ${option}" ;;
|
source="${source} ${option}" ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue