1. 28 Feb, 2019 2 commits
    • Karel Koci's avatar
      updater: do not download package unless we know that it is approved · 0be0315a
      Karel Koci authored
      We do not download any package unless we know that they are going to be
      installed with this commit. It is done by split of download to separate
      function.
      0be0315a
    • Karel Koci's avatar
      transaction: instead of data use files on fs · 5b9b4d2f
      Karel Koci authored
      This replaces problematic data pass in Lua with files saved on disk.
      Original problem is that Lua in some cases like closures duplicates
      environment and that means also all data. If this happens few times
      (from measurements it seems like two or three times in code segment we
      are dropping in this) then we can have few times bigger memory
      requirements.
      
      This also temporally disables test test-sys-pkgupdate-plan-unapproved as
      it does not expect additional files. This is going to be solved in
      following commit.
      5b9b4d2f
  2. 03 Jul, 2018 1 commit
    • Karel Koci's avatar
      Add options --model and --board · 1c3769dc
      Karel Koci authored
      This also moves some configuration variables from backend to separate
      syscnf module.
      Original design where hard coded in values were used as defaults is not
      replaced with design where set function is required to be called before
      anything is done. Commonly that is suppose to be done in C before we
      start using other Lua modules.
      Thanks to new options --model and --board we can now set target even
      outside of the router environment without requiring /tmp tainting. It's
      now also not possible to run updater's executables on non-openwrt
      platform without specifying those two options.
      1c3769dc
  3. 07 Nov, 2016 3 commits
  4. 01 Sep, 2016 1 commit
  5. 24 Aug, 2016 1 commit
  6. 16 Aug, 2016 1 commit
  7. 15 Aug, 2016 2 commits
  8. 27 Jul, 2016 1 commit
  9. 13 Jul, 2016 1 commit
  10. 24 May, 2016 1 commit
  11. 19 Apr, 2016 1 commit
    • Michal 'vorner' Vaner's avatar
      pkg: Not-installed flag · 4f280cd8
      Michal 'vorner' Vaner authored
      Don't get confused if you see it. Also, produce it in case we leave a
      modified config behind (but listing only the modified configs, removing
      the rest).
      4f280cd8
  12. 22 Mar, 2016 1 commit
    • Michal 'vorner' Vaner's avatar
      Transaction: Acquire a lock · 2b553162
      Michal 'vorner' Vaner authored
      Acquire a lock file. The same as opkg uses, to prevent collision with
      that one as well (if it was just us, the journal would be enough to
      prevent concurrent access).
      2b553162
  13. 21 Mar, 2016 1 commit
  14. 16 Mar, 2016 1 commit
  15. 14 Mar, 2016 2 commits
  16. 10 Mar, 2016 1 commit
  17. 09 Mar, 2016 1 commit
  18. 04 Mar, 2016 1 commit
  19. 01 Mar, 2016 4 commits