Jan-Tarek Butt
6a618e61da
autoupdater: drop caches a second time after download
...
This is useful to free memory after stopping more services after the
download.
[Matthias Schiffer: improved commit message]
2016-07-19 02:42:18 +02:00
lemoer
06f2a62b97
autoupdater: add upgrade.d directory.
2016-02-19 17:24:28 +01:00
Matthias Schiffer
b7ce1a2002
autoupdater: add download.d and abort.d directories
...
All executables in download.d are executed before after the update manifest
has been verified, but before the image is downloaded. This can be used to
stop non-essential services to free RAM.
abort.d is run when the download has failed and should revert the actions
of download.d.
2016-01-11 22:03:55 +01:00
Matthias Schiffer
3d98695abc
autoupdater: avoid unnessesary shell processes
...
Use functions that don't run commands though a shell where easily possible,
add 'exec' to remaining io.popen calls.
2016-01-11 21:53:19 +01: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