Autoupdate module is for organization of firmware version automatic and handle updating via HTTP from URL.
By default autoupdate module works from manufacturer URL if the variable autoupdateURL is not specified!!!
Example of the variable:
autoupdateURL=http://example.com/update_list.txt
autoupdateURL - URL which should contain update_list.txt
file
Stages of update process
Syntax of update_list.txt
file, example:
[ {"name":"0.2.14-r3", "url":"http://example.com/250/imageupdate214r3", "type":"release", "date":"26 Nov 2012 23:22:19 GMT+0200", "descr":"Release"}, {"name":"0.2.14-r7", "url":"http://example.com/250/imageupdate214r7", "type":"release", "date":"30 Nov 2012 14:43:29 GMT+0200", "descr":"Release"} ]
where:
/home/web/services.html
<tr> <td class="t20w pad10r tabs_center_title" id="autoUpdateHolder" align="right"></td> <td class="t18w" id="autoUpdateInputHolder"></td> </tr> <tr> <td class="t20w pad10r tabs_center_title" id="alphaUpdateHolder" align="right"></td> <td class="t18w" id="alphaUpdateInputHolder"></td> </tr>
Should be:
<tr style="display:none;"> <td class="t20w pad10r tabs_center_title" id="autoUpdateHolder" align="right"></td> <td class="t18w" id="autoUpdateInputHolder"></td> </tr> <tr style="display:none;"> <td class="t20w pad10r tabs_center_title" id="alphaUpdateHolder" align="right"></td> <td class="t18w" id="alphaUpdateInputHolder"></td> </tr>
/home/web/vars.js
settings_objArr = new RegExp("MAG200").test(gSTB.GetDeviceModelExt())? [ [ ["languageAudiotrack"],["languageSubtitle"],["frontPanelSel"],["screenClockSel"], ["ssdelay_select"],["videoClockSel"],["autoupdateSel"],["alphaupdateSel"], ["update_button","update_button_s"] ] ]: [ [ ["languageAudiotrack"],["languageSubtitle"],["frontPanelSel"],["screenClockSel"], ["ssdelay_select"],["videoClockSel"],["autoupdateSel"],["alphaupdateSel"], ["timeShiftSettings"],["update_button","update_button_s"] ], [ ["tsOn"],["tsIco"],["tsPath"],["tsTime"],["tsEndType"],["tsExitType"],["tsLag"],["tsBack"] ] ],
Should be: remove - autoupdateSel
, alphaupdateSel
, update_button
settings_objArr = new RegExp("MAG200").test(gSTB.GetDeviceModelExt())? [ [ ["languageAudiotrack"],["languageSubtitle"],["frontPanelSel"],["screenClockSel"], ["ssdelay_select"],["videoClockSel"],["update_button_s"] ] ]: [ [ ["languageAudiotrack"],["languageSubtitle"],["frontPanelSel"],["screenClockSel"], ["ssdelay_select"],["videoClockSel"],["timeShiftSettings"],["update_button_s"] ], [ ["tsOn"],["tsIco"],["tsPath"],["tsTime"],["tsEndType"],["tsExitType"],["tsLag"],["tsBack"] ] ],
Making the image in env.txt
Example env.txt
:
autoupdate_cond=2 betaupdate_cond=0