Skip to content
Snippets Groups Projects
  1. Jun 16, 2020
  2. Feb 14, 2020
  3. Jan 14, 2020
  4. Dec 11, 2019
  5. Nov 18, 2019
  6. Jun 19, 2019
    • Karel Koci's avatar
      foris: refactor foris packages to be really python packages · 8f2e8709
      Karel Koci authored and Karel Koci's avatar Karel Koci committed
      This uses correct python install sections instead of replacing it with
      its own. The problem was that python-package.mk does a lot of "standard"
      fixes in that install and replacing it caused those fixes to be skipped.
      There might have been originally reason on why to not use default
      install but I don't see it now.
      
      This also cleans a lot of other stuff around. Because we now use
      python-package.mk provided install we use Py3Package install instead.
      The same paradigm is used for optional ForisControllerModule install
      section.
      
      This also drops unnecessary hash-bang at the beginning of all scripts.
      Those scripts are not run directly but instead sourced. It is bad
      practice to do so because those scripts do not include functions they
      might use (such as config_load and so on). Also note that in default
      script is interpreted as shell so it is all right even if it is run
      directly. This is just more cleaner solution.
      
      This also drops all trace sets from same scripts. Most of those were
      only calling service restart and that is pretty much useless to print
      trace for that. There is only one exception and that is postinst of
      controller-netboot-module. It is also doing UCI manipulation. This is
      invalid in its core because it disallows configuration to be used. I am
      going to move that change to separate oneshot package used to migrate
      that configuration in future. That means that those trace outputs should
      not be required anywhere.
      
      There is one hack introduced here. Build system is checking if it is not
      invoking some random Makefile by grepping it. In case of package they
      look for pattern: call BuildPackage. This commit moves package
      declaration from package it self to definition in included file. That
      means that build system would ignore such Makefile. This introduces
      comment with content matching pattern it looks for so it is not ignored.
      Verified
      8f2e8709
  7. May 27, 2019
  8. Apr 18, 2019
  9. Apr 01, 2019
  10. Feb 05, 2019
  11. Dec 03, 2018
  12. Aug 22, 2018
  13. Aug 14, 2018
  14. Aug 10, 2018
  15. May 04, 2018
  16. Jan 23, 2018
  17. Jan 15, 2018
  18. Dec 20, 2017
  19. Oct 25, 2017
  20. Oct 02, 2017