mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
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
This commit is contained in:
parent
61686a1514
commit
95e642632a
@ -19,7 +19,7 @@ platform_check_image() {
|
|||||||
[ "$ARGC" -gt 1 ] && return 1
|
[ "$ARGC" -gt 1 ] && return 1
|
||||||
|
|
||||||
case "$(get_magic_word "$1")" in
|
case "$(get_magic_word "$1")" in
|
||||||
eb48) return 0;;
|
eb63) return 0;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid image type"
|
echo "Invalid image type"
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user