diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-22 16:06:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-22 16:06:29 +0000 |
commit | fb421cd98917838202303513fca0ce46d36c99f4 (patch) | |
tree | 7b2586abc6bc258cda7615ed388521ddb19844b4 /target/linux/x86/base-files/lib | |
parent | d15ab9c36e4fc08d03669fdb8c95feb47a941857 (diff) | |
download | upstream-fb421cd98917838202303513fca0ce46d36c99f4.tar.gz upstream-fb421cd98917838202303513fca0ce46d36c99f4.tar.bz2 upstream-fb421cd98917838202303513fca0ce46d36c99f4.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33890 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/x86/base-files/lib')
-rw-r--r-- | target/linux/x86/base-files/lib/upgrade/platform.sh | 2 |
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 dc4790ba30..d25f3d4ad0 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 |