updater issueshttps://gitlab.nic.cz/turris/updater/updater/-/issues2023-05-30T14:40:20+02:00https://gitlab.nic.cz/turris/updater/updater/-/issues/268Replace build in busybox (and utility functions) with C code2023-05-30T14:40:20+02:00Karel KociReplace build in busybox (and utility functions) with C codeFor simplicity up now we were just calling shell and busybox to handle archives and files operations. We should replace that with C only code and drop this humongous dependency.
* [ ] implement files move, copy and remove (`cp`, `mv`, `...For simplicity up now we were just calling shell and busybox to handle archives and files operations. We should replace that with C only code and drop this humongous dependency.
* [ ] implement files move, copy and remove (`cp`, `mv`, `rm`)
* [x] implement gzip and tar replacement (`tar`, `gzip`)
* [x] check if still required and if so implement find replacement (`find`)
* [ ] drop events
We can drop events module from library as the only thing we are using it for is to handle these utility calls. Replacing them should allows us to drop events all to together.https://gitlab.nic.cz/turris/updater/updater/-/issues/254Updater seems to have problems with links2023-05-30T14:32:49+02:00Karel KociUpdater seems to have problems with linksCurrent version of updater (v60.4.6) has problems with links. It is unable to replace them if it encounters them. This is probably because it recognizes them as directories and tries to write data to them. This of course fails if target ...Current version of updater (v60.4.6) has problems with links. It is unable to replace them if it encounters them. This is probably because it recognizes them as directories and tries to write data to them. This of course fails if target is not a directory or does not even exists. We should expect that there can be something like link and if it is valid link then we should follow it. If there is invalid link then we should replace it with new directory (or should we create target directory instead?).
This might be fixed by not using busybox so this issue should be revisited when we drop busybox.