From: Jo-Philipp Wich Date: Tue, 23 Oct 2012 16:34:00 +0000 (+0000) Subject: x86: allow both old and new grub signatures in sysupgrade X-Git-Tag: reboot~12535 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f600ec5b3b916517adf9a95c768964e8759e7e04;p=openwrt%2Fstaging%2Fxback.git x86: allow both old and new grub signatures in sysupgrade SVN-Revision: 33898 --- diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index d25f3d4ad0..dd94db0694 100644 --- a/target/linux/x86/base-files/lib/upgrade/platform.sh +++ b/target/linux/x86/base-files/lib/upgrade/platform.sh @@ -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