- Jul 07, 2021
-
-
There are two changes in this commit. First most noticable is removal of all updater lists. The second but more significant change is pretty much reformat of all generate scripts. It extracts common git and configuration handling from compile_pkgs to generate_common. The advantage of this is of course code sharing but also that other generate scripts now get features such as local git mirror.
-
- Apr 09, 2021
-
-
The medkits we do not need nor want initial-config in is minimal one (as that should be the minimal system) and netboot (as that is configured trough netboot scripts). Any other medkit now should include initial-config.
-
- Feb 12, 2021
-
-
Karel Koci authored
In default we do not configure updater branch thus using default of updater-ng's package. That works for HBS and thus is needed to be same for HBT and HBK. In case of other branches this is not exactly true and we can simply use default branch as default update branch.
-
- Feb 05, 2021
-
-
This uses base-min as base for medkit-min. This makes it more transparent and makes as minimal medkit as possible. The resulting medkit now contains no web interface and set of tools is also tailored to be minimal as possible.
-
This way it allows us to name medkits more freely. It is minor change but it potentially improves even readability.
-
- Feb 03, 2021
-
-
Karel Koci authored
Just plainly linking all files is not possible as hash files contain name of file they verify. For latest medkit this file name is of course different so hash files for latest medkits were invalid. To fix this, move of hash files generation was required. Now hash files are generated in generate_medkits script. To be consistent also signing was moved there. This change makes generate_medkit script just plain medkit generator. Output is single file. Deployment specific additional files are generated by generate_medkits script instead.
-
- Nov 21, 2020
-
-
Karel Koci authored
This is just stylistic change. It removes dirname and instead relies on string operation. There should be no way of having in $0 anything else other than some valid path. That is last part has to be at least /name_of_file. This means that we do not have to rely on dirname and we can safely just remove anything after last slash (including that slash). We user dirname only for paths in sub-directories.
-
- Sep 14, 2020
-
-
Karel Koci authored
We need to generate more than one medkit per target. That can be controlled by CI but it is better to have it all at once controlled by turris-build repository. It also partially hides all possible options generate_medkit provides. Most of them are to have versatile tool to generate medkit but are not intended to be used in CI to build real medkits. With this script (named generate_medkits to be consistent with generate_lists) only minimal required info is required from user and rest is provided depending on what kind of medkit is build. To have repository clean generate_medkit was moved to helpers directory. There are hints on future variants of medkits. At the moment primary use is for contracts but we can also provide minimal medkits (pretty much compared to what we have), beef up default medkit (just include some more common package lists) and also for example have full medkit with all package lists and drivers and languages (it is question if we even want that). It is also expected to have more targeted medkits such as broadband variant that would out of the box provided support for LTE modems and so on.
-