From b0882724a3259a36ee5ee86d53904e9a552ca176 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Thu, 25 Apr 2013 02:14:46 +0200 Subject: [PATCH 348/482] * util/grub-mkrescue.in: Fix loongson filename. --- ChangeLog | 4 ++++ util/grub-mkrescue.in | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f77a87a..c0eb5ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2013-04-25 Vladimir Serbinenko + * util/grub-mkrescue.in: Fix loongson filename. + +2013-04-25 Vladimir Serbinenko + * util/grub-mkrescue.in: Move all files that don't have a location set in stone under /boot/grub. Use ISO hard links rather than copies to save some space. diff --git a/util/grub-mkrescue.in b/util/grub-mkrescue.in index e944b89..78d4bec 100644 --- a/util/grub-mkrescue.in +++ b/util/grub-mkrescue.in @@ -496,9 +496,9 @@ if [ -e "${iso9660_dir}/boot/grub/roms/mipsel-qemu_mips.elf" ] && [ -d "${rom_di cp "${iso9660_dir}/boot/grub/roms/mipsel-qemu_mips.elf" "${rom_directory}/mipsel-qemu_mips.elf" fi -make_image "${loongson_dir}" mipsel-loongson-elf "${iso9660_dir}/boot/mipsel-loongson/core.elf" "pata -C xz" -if [ -e "${iso9660_dir}/boot/mipsel-loongson/core.elf" ] && [ -d "${rom_directory}" ]; then - cp "${iso9660_dir}/boot/mipsel-loongson/core.elf" "${rom_directory}/mipsel-loongson.elf" +make_image "${loongson_dir}" mipsel-loongson-elf "${iso9660_dir}/boot/grub/loongson.elf" "pata -C xz" +if [ -e "${iso9660_dir}/boot/grub/loongson.elf" ] && [ -d "${rom_directory}" ]; then + cp "${iso9660_dir}/boot/grub/loongson.elf" "${rom_directory}/mipsel-loongson.elf" fi make_image "${loongson_dir}" mipsel-yeeloong-flash "${iso9660_dir}/boot/grub/roms/mipsel-yeeloong.bin" "pata -C xz" if [ -e "${iso9660_dir}/boot/grub/roms/mipsel-yeeloong.bin" ] && [ -d "${rom_directory}" ]; then -- 1.8.2.1