updater merge requestshttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests2018-06-26T13:51:48+02:00https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/229Hash openssl2018-06-26T13:51:48+02:00Karel KociHash opensslWe are linked with openssl so it makes no sense to have other implementation of md5 and sha256.We are linked with openssl so it makes no sense to have other implementation of md5 and sha256.Boleslav BrezovskyBoleslav Brezovskyhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/230WIP: Model board specification by arguments2019-05-06T17:47:57+02:00Karel KociWIP: Model board specification by argumentsImplements: #233Implements: #233Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/235WIP: Some functions now use Luaposix library instead of calling shell2019-04-04T10:39:15+02:00Boleslav BrezovskyWIP: Some functions now use Luaposix library instead of calling shellBoleslav BrezovskyBoleslav Brezovskyhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/236Luaposix find2019-05-13T15:24:33+02:00Boleslav BrezovskyLuaposix findBoleslav BrezovskyBoleslav Brezovskyhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/239LUA_COPY rewritten in C2019-05-13T15:24:51+02:00Boleslav BrezovskyLUA_COPY rewritten in CBoleslav BrezovskyBoleslav Brezovskyhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/259WIP: lib: drop possibility to embed busybox2019-12-03T14:13:49+01:00Karel KociWIP: lib: drop possibility to embed busyboxWe do not need this. This was originally introduced to ensure that
updater on its own can run and update system that is pretty much broken.
The problem is that on such system we fail to run as well. Busybox has
subset of our dependenc...We do not need this. This was originally introduced to ensure that
updater on its own can run and update system that is pretty much broken.
The problem is that on such system we fail to run as well. Busybox has
subset of our dependencies and when we are able to run then busybox
binary is able to do that as well. We can also update busybox as part of
our dependencies same as for example libc and there is no gain in not
doing that.
This also had a problem that we were fixed on /tmp usage. Any package
could potentially cause remount of /tmp or could remove content of it
and updater would no longer work. That means that this was making
updater potentially more unstable compared to using system busybox.Boleslav BrezovskyBoleslav Brezovskyhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/255Use argp parser to handle arguments2019-09-27T13:01:22+02:00Karel KociUse argp parser to handle argumentsThis moves most of the arguments from library to applications and also
changes design of parsers to effectivelly apply configuration change
from parser directly, not later by application.This moves most of the arguments from library to applications and also
changes design of parsers to effectivelly apply configuration change
from parser directly, not later by application.Turris OS 4.0.1Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/252Drop projects that have now their own repository2019-04-08T11:02:16+02:00Karel KociDrop projects that have now their own repositoryTurris OS 4.0Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/244Drop obsolete features2019-01-28T15:46:21+01:00Karel KociDrop obsolete featuresThis is intended for Turris OS 4.0 version of updater.
Fixes: #195 #196This is intended for Turris OS 4.0 version of updater.
Fixes: #195 #196Turris OS 4.0Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/2413.x 4.x backport2021-11-08T09:27:10+01:00Karel Koci3.x 4.x backportThis is companion merge request for !240. This one is for Turris OS 3.x and backports changes in API in supervisor.
Note: Target branch is going to be for-turris-3.x. Current target branch is set to just limit changes to those that are ...This is companion merge request for !240. This one is for Turris OS 3.x and backports changes in API in supervisor.
Note: Target branch is going to be for-turris-3.x. Current target branch is set to just limit changes to those that are part of this MR. This is build on top of another MR.Štěpán HenekŠtěpán Henekhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/2404.0 config support2019-01-28T12:28:46+01:00Karel Koci4.0 config supportThis introduces changes that are part of 4.0 cleanup in updater and updater package.
Primarily configuration is changed and legacy scripts are dropped.
Together with this changes in Foris-controler should be made. There should be n...This introduces changes that are part of 4.0 cleanup in updater and updater package.
Primarily configuration is changed and legacy scripts are dropped.
Together with this changes in Foris-controler should be made. There should be no huge change in API from Foris point of view with exception that for 3.x vs 4.x compatibility it should start using `autorun` module in `svupdater` instead of changing uci configuration directly. @shenek
The only API change that is there is in userlists. Those were renamed to more appropriate pkglists. Module name `lists` stayed same but there is new variant of same function name and it is suggested that Foris should migrate to that.
Also see companion MR: !241 Turris OS 4.0Štěpán HenekŠtěpán Henekhttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/223Subprocess2019-12-24T12:20:06+01:00Karel KociSubprocessLet me start with a story. I wanted to just add hook so I could get in some common way an output from child processes so I could send them to supervisor (you know because of reporting and such). But that was such an idealistic idea. I ha...Let me start with a story. I wanted to just add hook so I could get in some common way an output from child processes so I could send them to supervisor (you know because of reporting and such). But that was such an idealistic idea. I had to take apart the whole tractor.
So here it's. Complete new and I hope nicer implementation for running scripts and hooks in updater in some common way. Plus few other things that were appended on the way there.
This implements #223 Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/216Drop flags2017-10-30T12:55:54+01:00Karel KociDrop flagsIdea behind flags was that scripts can save some notes for future
execution. We are not using this anywhere and probably we wont ever use
it. Also this somewhat goes against idea of stateless configuration.
Overall we clean clean a lot o...Idea behind flags was that scripts can save some notes for future
execution. We are not using this anywhere and probably we wont ever use
it. Also this somewhat goes against idea of stateless configuration.
Overall we clean clean a lot of code if we drop this unused feature.Turris OS 3.9https://gitlab.nic.cz/turris/updater/updater/-/merge_requests/215WIP: Entry script clean2017-11-02T16:14:48+01:00Karel KociWIP: Entry script cleanTurris OS 3.9Karel KociKarel Kocihttps://gitlab.nic.cz/turris/updater/updater/-/merge_requests/214WIP: Refactor updater.sh and add --rand-sleep option2019-05-06T17:48:18+02:00Karel KociWIP: Refactor updater.sh and add --rand-sleep optionFixes #225 and #226.Fixes #225 and #226.Karel KociKarel Koci