Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1610 - sysupgrade Image metadata not found #6537

Open
openwrt-bot opened this issue Jun 24, 2018 · 3 comments
Open

FS#1610 - sysupgrade Image metadata not found #6537

openwrt-bot opened this issue Jun 24, 2018 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

xseven007:

root@OpenWrt:~# sysupgrade openwrt-x86-64-combined-squashfs.img.gz
Image metadata not found
Reading partition table from bootdisk...
Reading partition table from image...
Saving config files...
Commencing upgrade. All shell sessions will be closed now.

And my .config file is ..

@openwrt-bot
Copy link
Author

jmomo:

I think I am also seeing this on my own custom device build on an ipq806x.

root@LEDE:/tmp# sysupgrade openwrt-ipq806x-trendnet_tew827dru-squashfs-sysupgrad
e.bin
Image metadata not found
Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware
Image check 'fwtool_check_image' failed.

I think I first started seeing this back on LEDE v17.06.05. Wasn't happening back on 03 or 04. Not positive about that though.

Doing a sysupgrade with -F results in success, including config restore, so this is probably just a problem with whatever this magic metadata check is.

@openwrt-bot
Copy link
Author

jmomo:

Looks like I fixed my own issue and might help you with yours. Apparently at some point a "append-metadata" Makefile option was added and I didn't notice. I just need to append this to my IMAGE/sysupgrade.tar in the Makefile.

@openwrt-bot
Copy link
Author

hgl:

I'm also having this issue. Built a x86 image, but sysupgrade complained "Image metadata not found".

@j I failed to find the append-metadata" Makefile option, is it something in menuconfig? This issue is about x86, and there seems to be no such option when you select the x86 architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant