* util/grub-mkrescue.in: Print an error and usage if output option
has not been given.
+2009-11-21 Felix Zielcke <fzielcke@z-51.de>
+
+ * util/grub-mkrescue.in: Print an error and usage if output option
+ has not been given.
+
2009-11-21 Felix Zielcke <fzielcke@z-51.de>
Patch from Loïc Minier <loic.minier@ubuntu.com>.
-h, --help print this message and exit
-v, --version print the version information and exit
--modules=MODULES pre-load specified modules MODULES
- --output=FILE save output in FILE
+ --output=FILE save output in FILE [required]
$0 generates a bootable rescue image with specified source files or directories.
esac
done
+if [ "x${output_image}" = x ] ; then
+ echo "output file must be given" >&2
+ usage
+ exit 1
+fi
+
iso9660_dir=`mktemp -d`
mkdir -p ${iso9660_dir}/boot/grub