From 95e642632aec8975b2a146a13fed82bac9b67817 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 22 Oct 2012 16:06:29 +0000 Subject: 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 SVN-Revision: 33890 --- target/linux/x86/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/x86') 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 -- cgit v1.1