summaryrefslogtreecommitdiff
path: root/target/linux/x86
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-22 16:06:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-22 16:06:29 +0000
commit95e642632aec8975b2a146a13fed82bac9b67817 (patch)
tree42a5418e1b90264b32496e6dfc669527792cce03 /target/linux/x86
parent61686a1514fc82eb3f1a9c66e8bd4d90df9753d5 (diff)
downloadmtk-20170518-95e642632aec8975b2a146a13fed82bac9b67817.zip
mtk-20170518-95e642632aec8975b2a146a13fed82bac9b67817.tar.gz
mtk-20170518-95e642632aec8975b2a146a13fed82bac9b67817.tar.bz2
x86: correct image magic for grub2 images
Sysupgrade broke on x86 when grub2 superceded grub. This patch corrects tha magic_word to be expected in grub2 combined images. Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 33890
Diffstat (limited to 'target/linux/x86')
-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 dc4790b..d25f3d4 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
- eb48) return 0;;
+ eb63) return 0;;
*)
echo "Invalid image type"
return 1