x86: allow both old and new grub signatures in sysupgrade
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Oct 2012 16:34:00 +0000 (16:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Oct 2012 16:34:00 +0000 (16:34 +0000)
SVN-Revision: 33898

target/linux/x86/base-files/lib/upgrade/platform.sh

index d25f3d4ad0db105e661b56d324ad4d5ff551dc8c..dd94db069434a236ecea216e1ce94be03de1e52f 100644 (file)
@@ -19,7 +19,7 @@ platform_check_image() {
        [ "$ARGC" -gt 1 ] && return 1
 
        case "$(get_magic_word "$1")" in
-               eb63) return 0;;
+               eb48|eb63) return 0;;
                *)
                        echo "Invalid image type"
                        return 1