summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-23 16:34:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-23 16:34:00 +0000
commitf600ec5b3b916517adf9a95c768964e8759e7e04 (patch)
tree1523ac9d743201b8e6ac8e3047f1be275d382161 /target/linux
parent949b46d13d1e21b596f505a2e69956565e365d77 (diff)
downloadmtk-20170518-f600ec5b3b916517adf9a95c768964e8759e7e04.zip
mtk-20170518-f600ec5b3b916517adf9a95c768964e8759e7e04.tar.gz
mtk-20170518-f600ec5b3b916517adf9a95c768964e8759e7e04.tar.bz2
x86: allow both old and new grub signatures in sysupgrade
SVN-Revision: 33898
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/x86/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh
index d25f3d4..dd94db0 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