maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
804 stars 133 forks source link

Support OpenELEC-style updates #343

Open moble opened 7 years ago

moble commented 7 years ago

I've tried various (simple) ways to update my OpenELEC (and now LibreELEC) installations on berryboot, but have always failed. I'm nervous of just taking my pick of the most likely-sounding option on some thread like this.

The v2.5 commit lists "Support OpenELEC-style updates" as one of the changes. But the only relevant code change I could see was at this line, where it checks for ${DATADIR}/storage/.update/SYSTEM. But this should not exist if you follow these instructions for a manual update or these. Instead, there should be a .tar or .img.gz file in there, with subdirectory target containing SYSTEM.

Should the code be changed to look for a .tar or .img.gz file, and then look inside that file for SYSTEM?

As a workaround, is it safe for me to just extract that SYSTEM from the .tar file?

maxnet commented 7 years ago

The automated updates you can do from within the OpenELEC UI do extract the files. Never tried a manual update, but should indeed work if you extract the SYSTEM file.

alfieoriginal commented 7 years ago

Is it automation working for LibreElec? It would nice adding LibreElec to the distros repo. It is much more active than OpenElec is.