From: Vladimir 'phcoder' Serbinenko Date: Sat, 12 Jun 2010 11:44:01 +0000 (+0200) Subject: * util/grub-mkrescue.in: Add --sort-weight arguments to xorriso. X-Git-Tag: 1.99~823 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e03e4b24ca473f5fdc7226e6b4a55d982557d31f;p=thirdparty%2Fgrub.git * util/grub-mkrescue.in: Add --sort-weight arguments to xorriso. Suggested by: Thomas Schmitt. --- diff --git a/ChangeLog b/ChangeLog index f148d3204..9c8b21bd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-06-12 Vladimir Serbinenko + + * util/grub-mkrescue.in: Add --sort-weight arguments to xorriso. + Suggested by: Thomas Schmitt. + 2010-06-12 Vladimir Serbinenko custom.cfg support. diff --git a/util/grub-mkrescue.in b/util/grub-mkrescue.in index ee269d692..1c8bd8e67 100644 --- a/util/grub-mkrescue.in +++ b/util/grub-mkrescue.in @@ -269,7 +269,7 @@ if [ -e "${iso9660_dir}/boot/coreboot.elf" ] && [ -d "${rom_directory}" ]; then fi # build iso image -xorriso -pathspecs on -as mkisofs ${grub_mkisofs_arguments} --protective-msdos-label -o ${output_image} -r ${iso9660_dir} ${source} +xorriso -pathspecs on -as mkisofs ${grub_mkisofs_arguments} --protective-msdos-label -o ${output_image} -r ${iso9660_dir} --sort-weight 0 / --sort-weight 1 /boot ${source} rm -rf ${iso9660_dir} rm -f ${embed_img}