projects
/
openwrt
/
staging
/
neocturne.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61686a1
)
x86: correct image magic for grub2 images
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 22 Oct 2012 16:06:29 +0000
(16:06 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 22 Oct 2012 16:06:29 +0000
(16:06 +0000)
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
target/linux/x86/base-files/lib/upgrade/platform.sh
patch
|
blob
|
history
diff --git
a/target/linux/x86/base-files/lib/upgrade/platform.sh
b/target/linux/x86/base-files/lib/upgrade/platform.sh
index dc4790ba3026fc77c97542ba96fdf12de34fd014..d25f3d4ad0db105e661b56d324ad4d5ff551dc8c 100644
(file)
--- 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
- eb
48
) return 0;;
+ eb
63
) return 0;;
*)
echo "Invalid image type"
return 1