1. 25 Aug, 2021 3 commits
  2. 23 Aug, 2021 1 commit
  3. 01 Jul, 2021 2 commits
  4. 10 Jun, 2021 1 commit
    • Thomas Haemmerle's avatar
      Introduce functionality for automatically fetching package versions · 81986274
      Thomas Haemmerle authored and Stefano Babic's avatar Stefano Babic committed
      
      
      Versions of the packages included in update file needs to be entered
      manually in sw-description file or provided in as a bitbake variable.
      
      This patch searches for a group in sw-description file containing the
      tag `version = "@SWU_AUTO_VERSION"`.
      If found, the version of the corresponding package is fetched from it's
      package-data-file (`PV`) and the tag is replaced with the version.
      Possible trailing strings in `PV` starting with `+` (e.g.
      "+gitAUTOINC+...") are dropped to keep semantic versions.
      
      Since the filenames not always belong to the package name (deployed
      with another name or the file is a container for the real package)
      support providing the correct package name by appending the tag with
      `:<package-name>`.
      Signed-off-by: default avatarThomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
      81986274
  5. 15 Dec, 2020 2 commits
  6. 11 Dec, 2020 1 commit
    • Christoph Lauer's avatar
      sign unencrypted sw-description · 21092c20
      Christoph Lauer authored and Stefano Babic's avatar Stefano Babic committed
      
      
      If sw-description is encrypted and signed, swupdate verifies the decrypted sw-description file (see core/stream_interface.c in swupdate code).
      So the signature has to be created from the unencrypted sw-description as well.
      Alternatively, the swupdate code needs to be changed to verify the encrypted sw-description.
      Signed-off-by: default avatarChristoph Lauer <christoph.lauer@xtronic.de>
      21092c20
  7. 30 Nov, 2020 1 commit
    • Stefano Babic's avatar
      Fix breakage if encryption is not set · 9995157c
      Stefano Babic authored
      
      
      Commit introduces the encryption into the swupdate class, but it breaks
      builds if encryption is not used at all. Fix this and rework function
      to retrieve key from a file.
      
      Replace os.system() with subprocess.run() - this should be done for other
      occurrencies od os.system() that is declared obsolete.
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
      9995157c
  8. 26 Nov, 2020 1 commit
  9. 04 Aug, 2019 1 commit
  10. 30 Jan, 2019 1 commit
    • Stefano Babic's avatar
      Extend Allow expansion of variables in sw-description · 4ab05dff
      Stefano Babic authored
      
      
      Variables are just matched one for each line in sw-description. The
      patch extend the behavior and searches recursively in each line for all
      matches of the substituion pattern @@variable@@.
      
      This adds supports for variable's flags, too. The following match is
      also resolved:
      
      	@@variable[name-of-flag]@@
      
      This is useful to evaluate SWUpdate's flags as the image extension.
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
      4ab05dff
  11. 28 Nov, 2018 1 commit
  12. 05 Oct, 2018 1 commit
  13. 23 Jul, 2018 1 commit