]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-install.in: Fix an ARC bug.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 25 Jan 2012 14:06:27 +0000 (15:06 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 25 Jan 2012 14:06:27 +0000 (15:06 +0100)
Print a warning if no platform-specific setup is available.

ChangeLog
util/grub-install.in

index eeacee49ec51771dc536942edbb81de6f9c582bf..c49e1046ecbaa08960d2b8964a425a12bc6b5247 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-25  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * util/grub-install.in: Fix an ARC bug.
+       Print a warning if no platform-specific setup is available.
+
 2012-01-24  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Use static allocation rather than scratch pointer in reed_solomon.
index 899e67a07dbc36f1bfcc0743f135ffd7c3ac86e1..c709146547a4e59c1e1936f31a1c46a1f62fd74c 100644 (file)
@@ -276,7 +276,8 @@ fi
 
 if ! ([ "${target_cpu}-${platform}" = "i386-pc" ] \
     || [ "${target_cpu}-${platform}" = "sparc64-ieee1275" ] \
-    || [ "${target_cpu}-${platform}" = "powerpc-ieee1275" ]); then
+    || [ "${target_cpu}-${platform}" = "powerpc-ieee1275" ]
+    || [ "${target_cpu}-${platform}" = "mips-arc" ]); then
     install_device=
 fi
 
@@ -727,6 +728,8 @@ elif [ x"$platform" = xefi ]; then
                -L "$bootloader_id" -l "\\EFI\\$efi_distributor\\$efi_file"
        fi
     fi
+else
+    echo "WARNING: no platform-specific install was performed"
 fi
 
 echo "Installation finished. No error reported."