* util/grub-mkrescue.in: Add --sort-weight arguments to xorriso.

Suggested by: Thomas Schmitt.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-06-12 13:44:01 +02:00
parent 57711df6ad
commit e03e4b24ca
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkrescue.in: Add --sort-weight arguments to xorriso.
Suggested by: Thomas Schmitt.
2010-06-12 Vladimir Serbinenko <phcoder@gmail.com>
custom.cfg support.

View File

@ -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}