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