Matthias Schiffer
c1068fef42
autoupdater: exit when the image name is not defined for a hardware model
2014-09-09 16:07:35 +02:00
Matthias Schiffer
02bc9f4e66
Dependency fixes for the new LuCi version
2014-08-06 12:06:49 +02:00
Matthias Schiffer
a54d13eb31
autoupdater: rename oneshot updates to fallback, improve handling for frequent runs
...
The oneshot update now won't be considered until 24h after the priority delay
has passed (so regular updates should have at least one chance to do the updates
even for PRIORITY=0 updates)
2014-07-25 16:54:53 +02:00
Matthias Schiffer
ea3d8703b4
autoupdater: all fallback for situations with no valid time available
2014-07-22 01:55:48 +02:00
Matthias Schiffer
514f46bfe0
autoupdater: add new fields to the sample manifest
2014-07-21 17:35:22 +02:00
Matthias Schiffer
7b9b3058de
autoupdater: add -o (oneshot) switch
...
This switch is used for the fallback mode which ensures that updates are
performed even when a node is off when updates are usually done.
2014-07-21 17:27:47 +02:00
Matthias Schiffer
aae7bf92ed
autoupdater: implement new probablity logic
2014-07-21 17:27:47 +02:00
Matthias Schiffer
12fa328bca
autoupdater: add a utility function to parse RFC3339 timestamps
2014-07-21 17:27:47 +02:00
Matthias Schiffer
dc73c75810
autoupdater: convert to Lua
...
In addition, a new config field 'version_file' is added to remove the last
Gluon-specific part from the autoupdater package.
2014-07-21 17:27:47 +02:00
Matthias Schiffer
d8054d8672
autoupdater: try URL ${BRANCH}.manifest before manifest
...
This will allow storing different manifests for multiple branches in a single
directory.
2014-07-14 23:12:44 +02:00
Matthias Schiffer
916bbae68e
Split parts not Gluon-specific out of gluon-autoupdater
2014-07-11 14:06:42 +02:00