mirror of https://github.com/hak5/openwrt.git
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: 33890lede-17.01
parent
61686a1514
commit
95e642632a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue