Skip to content
Snippets Groups Projects
  1. Jul 07, 2021
    • Karel Koci's avatar
      lists: move to separate repository and improve scripts · ab1dd25d
      Karel Koci authored and Karel Koci's avatar Karel Koci committed
      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.
      Verified
      ab1dd25d
  2. Apr 09, 2021
  3. Feb 12, 2021
    • Karel Koci's avatar
      generate_medkits: set default updater branch outside hbk · 5692704b
      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.
      Verified
      5692704b
  4. Feb 05, 2021
  5. Feb 03, 2021
    • Karel Koci's avatar
      generate_medkits: fix invalid hash file content · 48da7b5e
      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.
      Verified
      48da7b5e
  6. Nov 21, 2020
    • Karel Koci's avatar
      generate_*: improve includes to be more consistent · c5ca0c17
      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.
      Verified
      c5ca0c17
  7. Sep 14, 2020
    • Karel Koci's avatar
      generate_medkits: this is more general script instead of generate_medkit · 3b85c6e8
      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.
      Verified
      3b85c6e8