1. 22 Apr, 2022 1 commit
  2. 07 Apr, 2022 1 commit
    • Karel Koci's avatar
      base-fix: fix cyclic dependency when updating Mox · 981127a2
      Karel Koci authored
      The Mox and Shields were unable to update due to error:
        Package mox-support is requested as critical. Cyclic dependency is not allowed for critical requests.
      The reason for that was this additional dependency that created the
      loop. The reasoning for it was to force the removal of
      /etc/fw_env.config before we generate the new one by uboot-envtools.
      Package that actually contains that file wasn't mox-support but
      mox-generic-support and that does not actually depend on uboot-envtools
      and thus breaks the loop.
  3. 06 Apr, 2022 1 commit
  4. 23 Mar, 2022 1 commit
    • Karel Koci's avatar
      base-fix: add fix-turris1x-btrfs-sdcard · 4faa39fa
      Karel Koci authored
      This applies only to the Turris 1.x and we want to distribute it to all
      of those routers. The issue is that there is no package to pick it up
      from so we have to use Turris OS version. The currently developed
      version is 6.0.0. This makes this fix package kept in system for some
      time (till the TOS 6.0.1) but that should be all right.
  5. 09 Mar, 2022 1 commit
    • Josef Schlehofer's avatar
      drivers/pci.lua: fix for Turris RTROM01-WS3294 · b32524e1
      Josef Schlehofer authored
      Unfortunately, this fault is done by the HW report, which I got from our
      hardware department. They swapped vendor and device ID in the report and
      I could not verify it. Since I did not have the mini PCIe card, I
      could check it with the Mediatek MT7612, which we already have here
      listed. :-(
      Fixes: 01444c9b ("pci.lua: add support for Turris RTROM01-WS3294")
  6. 07 Mar, 2022 1 commit
  7. 20 Oct, 2021 1 commit
  8. 15 Oct, 2021 2 commits
    • Karel Koci's avatar
      .gitlab-ci/Dockerfile: remove vim file type specification · d62686ec
      Karel Koci authored
      This is vim specific and we should not pollute files with vim specific
      configuration. That can be done locally in vim configuration without
      having to do this.
      For anyone interested, this should cover these files:
       au BufRead,BufNewFile Dockerfile* set filetype=dockerfile
    • Karel Koci's avatar
      gitlab-ci: build docker image as part of CI run · 0f5f2bbe
      Karel Koci authored
      This implements build of docker image as part of every CI run. The build
      should be most of the time fast as we always pull the latest version and
      thus reuse that if there is no update required.
  9. 12 Oct, 2021 1 commit
    • Karel Koci's avatar
      githooks/pre-push: allow fast-forward of master to develop · b2620845
      Karel Koci authored
      The original check was that master can be pushed only with develop
      branch. It is what we mostly want but there are cases when we do not
      update develop and only master that are valid as well. The example of
      such operation is merge of develop to master, which is always
      fast-forward due to our workflow.
      This halts push only if master commit is not ancestor of develop instead
      of halting it always when develop is not being updated.
  10. 07 Oct, 2021 1 commit
    • Karel Koci's avatar
      foris: install foris only if it is required for pakon · e6fbf420
      Karel Koci authored
      This removes explicit request for foris and installs it only if pakon is
      requested. Any other request for foris package is now only installed if
      foris is going to be.
      The stylistic tweak here is removal of condition checks for for_l10n
      function. This function is defined in utils.m4 and thus directly in all
      files so this condition made no sense.
  11. 27 Sep, 2021 1 commit
  12. 23 Sep, 2021 3 commits
  13. 15 Sep, 2021 2 commits
    • Karel Koci's avatar
      drivers/usb: add DUB-1312 Ethernet adapter and PL2303 serial · 65c09fd6
      Karel Koci authored
      The first device is an USB Ethernet and the second device is serial
      port. Both of these are available for broad purchase all around the
    • Karel Koci's avatar
      drivers/usb: move stuff around · d90d7034
      Karel Koci authored
      The Zigbee and Z-Wave are technically a serial devices but they are
      rather separate as they are not intended for connecting serial console
      of other device. They use only serial communication. Instead this just
      creates them a separate sections.
      The serials are also moved after bluetooth because Wi-Fi, Zigbee and
      Z-Wave are kind of same so let's have them together.
  14. 14 Sep, 2021 1 commit
    • Karel Koci's avatar
      drivers: fix installation of multiple packages · 86e090dc
      Karel Koci authored
      This fixes install requests for those devices requesting multiple
      packages. The issue here is that the second package was being ignored.
      This fixes the issue.
      In depth explanation of what was happening:
      The Lua seems to be implementing arguments parsing in such a way that it
      takes value and pushes it to stack of arguments to specific position it
      is parsed from. The `unpack` seems to use this and it simply pushes
      arguments to position it is specified on and upward. Here that is the
      first position and for two packages that is first and second argument.
      The second argument here was `{ priority = 40 }` and as it seems the
      interpreter simply set this dictionary to position of second argument
      thus rewriting the argument injected by `unpack`. Simply said: unpack
      seems to work only if it is the last argument in the function call.
  15. 15 Aug, 2021 3 commits
  16. 03 Aug, 2021 1 commit
    • Karel Koci's avatar
      lists: immediately replan on updater-ng update · 731b93ce
      Karel Koci authored and Josef Schlehofer's avatar Josef Schlehofer committed
      We need to replan immediately after updater-ng update because we depend
      on conditions and without them a lot of packages are skipped and removed
      during the update. We in general prefer to update whole system at once
      but it is not an ideal when part of that system would be removed during
      such update. It would also be better to use `Mode("no_removal")` but
      that is available since version 64.0 and request conditions were
      introduced in 65.0 thus it makes no sense to cover that single version
      with special case. In the future when ever new incompatibility such as
      this is added we should use no removal mode instead.
  17. 29 Jul, 2021 1 commit
  18. 20 Jul, 2021 4 commits
  19. 13 Jul, 2021 4 commits
    • Karel Koci's avatar
      gitconfig: add missing gitconfig · c2e000ae
      Karel Koci authored
      This should have been part of ed0cd2e4.
    • Karel Koci's avatar
      tests: run-test drivers · 89de29ec
      Karel Koci authored
      The default test covers drivers lists only till the check for drivers,
      then it exits. This instead makes sure that whole script works because
      it defines devices and sets them to special value "all" that makes all
      devices available.
    • Karel Koci's avatar
      drivers: include drivers lists to build as well · a88aabbf
      Karel Koci authored
      This is fix of missing drivers lists in build, they were just missing in
      the build system.
    • Karel Koci's avatar
      drivers: add error for invalid usage of drivers lists · 93417997
      Karel Koci authored
      This makes the original fatal error that devices passed to pairs is nil
      to non-fatal. This also gives much more direct message.
      Drivers are important but there are optional drivers and thus having
      their invalid usage/setup as fatal makes no sense. They would just not
      be included. It is a regular error only.
  20. 12 Jul, 2021 1 commit
  21. 18 Jun, 2021 4 commits
    • Karel Koci's avatar
      lists: move some of the IPv6 protocols to base-min and drop the rest · 6d57dffe
      Karel Koci authored
      There is no reason to have IPv6 separate from other network protocols.
      They should be in same place and installed together.
      Preserved protocols:
      * ds-lite: it is widely deployed over the world so it is probably a must
      * 6in4: common tunneling protocol used to get IPv6 to networks without
        it. As a way to push IPv6 we should include it.
      * 6rd: a replacement for 6to4 in some way. It is a way to provide IPv6
        in IPv4 only network on ISP's network. There seems to be minority of
        ISPs actually using it.
      Removed protocols:
      * 6to4: marked as deprecated.
    • Karel Koci's avatar
      base: move zone info to base-min · e9fa1093
      Karel Koci authored
      Zone info is required to make local time work. It is not essential but
      not working local time is very weird and in reality this is about two
      megabytes of storage (which is nothing for us). Having it in minimal
      base installation thus is not a burden.
    • Karel Koci's avatar
      base-min: move opkg from base-min to base · 0c15fed3
      Karel Koci authored
      With removed updater from base-min the opkg should be removed as well as
      it serves the same purpose and is not essential for hardware
      Again to recapitulate the idea: The only self-updating and thus self
      package installing base is the base. Any other base either have to
      include base.lua or root based on it has to be managed externally (out
      of root in updater or --dest in opkg).
    • Karel Koci's avatar
      base-min: remove updater from minimal installation · f98ab48d
      Karel Koci authored
      The minimal installation should be just minimal hardware support. That
      does not include updater. It also makes sense to have updater included
      in base.lua as that is the base script updater-ng uses.
      The full idea of this is that updater can be used to build image and
      externally manage root with any base script but only full base should
      contain self-updating.
  22. 10 Jun, 2021 1 commit
  23. 08 Jun, 2021 1 commit
  24. 07 Jun, 2021 1 commit
    • Karel Koci's avatar
      Pull latest version of lists · 6018e489
      Karel Koci authored
      The version lists are updated to:
      This adds immediate replan to latest updater version check. In the
      reality we do not want to use it that much as it can cause issues but we
      need it for migration from Turris 3.x so we can't just globally ignore
  25. 01 Apr, 2021 1 commit