* util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary

in this context.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-07-10 02:15:49 +02:00
parent becce1b16a
commit 3eaac1a13e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-07-10 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkrescue.in: Don't use tar GNU-ism since it's not necessary
in this context.
2010-07-07 Vladimir Serbinenko <phcoder@gmail.com>
* tests/util/grub-shell.in: Remove bashisms and declare as sh script.

View file

@ -211,7 +211,7 @@ EOF
echo "source /boot/grub/grub.cfg") \
> ${iso9660_dir}/boot/grub/${platform}/grub.cfg
tar -C ${memdisk_dir} -cf ${memdisk_img} boot
(cd "${memdisk_dir}"; tar -cf - boot) > "${memdisk_img}"
rm -rf ${memdisk_dir}
$grub_mkimage -O ${platform} -d "${source_directory}" -m "${memdisk_img}" -o "$3" --prefix='(memdisk)/boot/grub' \
search iso9660 configfile normal memdisk tar $4