1. 19 Oct, 2021 1 commit
    • Stefano Babic's avatar
      swupdate: bump to revision e1df95fa · 1d5a3670
      Stefano Babic authored
      This includes the following changes:
      e1df95fa compare_versions: make is_oldstyle_version fail when number > 65535
      8ca165e1 cosmetic: align help output in suricatta
      25f1f120 Utility: detect and return root device
      af1addbf cosmetic: sort entries in getopt list
      127b23b3 doc: add SPDX to documentation files
      e5f5b788 REUSE: add .reuse/dep5 for files without SPDX
      c1cc2804 REUSE: drop not used BSD-2-Clause license
      1b41348e REUSE: add OFL-1.1 license
      c356dec2 LICENSES: update list of licenses
      056cde2f doc: explain versioning schemas in SWUpdate
      cc9b6218 doc: add missing documentation for Webserver parms
      50747d0f doc: drop obsolete reference to legacy web application
      0053dee2 doc: fix sphinx warnings due to wrong indentation
      4c0025c8 README: show REUSE badge
      057d6337 mtd: fix flash_erase_sector
      bcc6f7d9 channel_curl: Remove leftover comment after 859be4a
      b47f94d3 (denx/master) CI: add missing dependency libpci-dev
      6f952493 doc: add CIP talk about SWUpdate
      0d349bcf diskpart: ensure expected filesystems are present/created
      f4b149db Doc: Update building with Yocto
      60514a1f channel_curl: Add maximum download speed limit
      97d37105 mke2fs/ext2fs: remove check for casefold and encrypt
      c1a18b74 diskpart: ensure diskpart format is enabled if fstype is set
      37163fff IPC: add status streaming support
      859be4a8 channel_curl: Add ability to define a set of custom HTTP headers
      25a21e30 doc encrypted_images: remove generating keys from password
      4de12481 doc swupdate.rst: clarify execution order for scripts
      2beab61f Lua: Replace lightuserdata to fix LuaJIT on aarch64 with 48bit VA
      c7860675 channel_curl: Let curl use default system cacert bundle path
      68867fb7 Replace CONFIG_DISABLE_CPIO_CRC with dynamic check
      8bb47ef6 Simplify footprint for get_cpiohdr
      0b93eb40 diskpart: resolve symlinks for fdisk_assign_device
      fa4a27a2 doc: Fix documentation for nolock/noinuse to match implementation.
      c96ccf9f Create and destroy scripts/datadst temp folders on install.
      07d30be7 flash: allow to erase just a part of device
      f0170ea6 mtd: add flash_erase_sector
      d04c986c Make usage of strtobool function
      24017b88 doc: describe usage of swupdate-image class in OE
      a2487795 diskpart: fix computed partname when device is a symlink
      8b4bb8e3 boot_handler: Check for copyimage() failure
      7124297d Remove travis integration
      b44e1ede Progress: fix socket send return error check
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  2. 30 Sep, 2021 1 commit
  3. 22 Sep, 2021 2 commits
  4. 15 Sep, 2021 1 commit
  5. 06 Sep, 2021 1 commit
  6. 26 Aug, 2021 1 commit
    • Stefano Babic's avatar
      Create a class to generate SWU from image · 52911419
      Stefano Babic authored
      It is currently required a separate recipe to build the SWU from an
      image. This is very flexible but it appears overkilling in use cases
      where the only artifact is the rootfs. Create a separate class that can
      be inherited replacing swupdate.bbclass and that build a SWU from an
      image recipe.
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  7. 25 Aug, 2021 7 commits
  8. 23 Aug, 2021 1 commit
  9. 15 Aug, 2021 1 commit
    • Pierre-Jean Texier's avatar
      swupdate: bump to revision eef1767 · abc520d9
      Pierre-Jean Texier authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      eef1767 Kconfig: use DISKFORMAT as flag
      b6b7d82 diskpart: add a force mode to write table
      0dc9ba7 util: add strtobool() function
      873d672 doc: handlers: add diskformat handler description
      51ed672 handlers: add diskformat handler
      8944ae9 network_thread: log expected IPC bytes
      63515ba suricatta: Fix command line argument size allocation
      25c9c42 tools: Fix some dead assignments
      8d4b99f utils: Fix string_split() formatting
      8adc9b5 mongoose: not block the sender if update is ended
      c9e7753 util: Use a proper cast in the error message
      508b824 util: Use %llu for printing 'long long unsigned int'
      Signed-off-by: default avatarPierre-Jean Texier <texier.pj2@gmail.com>
  10. 11 Aug, 2021 1 commit
  11. 05 Aug, 2021 1 commit
  12. 28 Jul, 2021 1 commit
    • Stefano Babic's avatar
      Bump to version b9ca32e · 128364c3
      Stefano Babic authored
      This includes the following changes:
      b9ca32e raw_handler: Check for openfileoutput() failure
      44f111b boot_handler: Check for openfileoutput() failure
      aff5234 stream_interface: Close the file descriptor on failure
      2c32873 (origin/master, origin/HEAD) mongoose: Ignore PROGRESS messages
      a099046 mongoose: Escape JSON strings
      c90742c diskpart: lock the device before writing the disklabel
      161dfd2 handlers: set rawcopy as script handler
      eb8657f pkcs11: Reuse one session for all operations
      de80779 Improve error handling around archive_read_next_header
      a73fe5d Lua: Ignore EROFS errors in lua umount.
      2ffc29d Kconfig: Add HAVE_LINUX dependency to MTD support
      61e5f71 Fix coverity #331313
      77a0e81 Fix coverity #331311
      a649e7f diskpart: improve partition diff logging
      84ccd66 Kconfig: Add HAVE_LIBSYSTEMD
      fdb27d3 Kconfig: Add HAVE_LIBEXT2FS
      ce653dc Kconfig: Add HAVE_LIBRSYNC
      e9c3bfb  Fix coverity #314955
      c3392fb  Fix coverity #292113
      9135330 ucfw handler: check return code from parsing GPIO
      53844d1 building-with-yocto.rst: Extend documentation of automatic versions
      6f3ed64 Fix coverity #332451
      9bc6446 Fix coverity #332450
      d031f2d diskpart: fix createtable memory leak
      055d418 CI: add coverity tool to gitlab runner
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  13. 23 Jul, 2021 2 commits
  14. 01 Jul, 2021 2 commits
  15. 25 Jun, 2021 1 commit
    • Pierre-Jean Texier's avatar
      swupdate: bump to revision 2d98b2c · a233ac5c
      Pierre-Jean Texier authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      2d98b2c correct missing goto in swuforward_handler causing curl failure to be overwritten as successful
      301dc57 read_lines_notify: fix segfault if a program prints a line starting with \0
      371d693 Add support for setting hybrid dos partition entries.
      ae6ef03 suricatta: wrong exit from server.send_target_data
      3914d2b util: Extend get_root to find LUKS devices
      388f177 util: Add get_root source /proc/self/mountinfo
      043bdeb building-with-yocto.rst: fix whitespace errors
      1f3c9d2 building-with-yocto.rst: Document automatic versions
      ca01568 doc: improve 'best practise' spelling and wording
      8e4c326 Add optional CMS single signer verification
      c4ff683 diskpart: refactor partition table comparison into separate function
      06080d8 diskpart: refactor partition table fill into separate function
      e43cb24 doc: add hints and best practise
      4687f1e diskpart: fix bug in partition comparision of autogenerated sizes
      1cd84eb REUSE: add SPDX to files in examples
      be654c7 diskpart: check fdisk_create_disklabel return
      aae966c diskpart: disable fdisk dialog driven partitioning
      3c70984 diskpart: format filesystem only if partition table is changed
      531d4ca BUG: buffer overflow with semantic version > 50
      a040310 gitlab-ci: Add REUSE header
      b6c0adb Remove unused OpenSSL exception
      ef373fc doc: Add CC0-1.0 to license overview
      e42c1b1 doc: Correct GPL-2 references in license overview
      b7908c7 configs: Add HASH_VERIFY to no_ssl_defconfig
      2643d78 ci: Run all tests
      1439351 Correct tpyos found by Lintian
      3612a85 Correct SWUpdate Logo license
      Signed-off-by: default avatarPierre-Jean Texier <texier.pj2@gmail.com>
  16. 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
      Signed-off-by: default avatarThomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
  17. 13 May, 2021 2 commits
  18. 07 May, 2021 1 commit
  19. 01 May, 2021 3 commits
  20. 28 Apr, 2021 1 commit
  21. 27 Apr, 2021 1 commit
  22. 24 Apr, 2021 2 commits
  23. 20 Apr, 2021 1 commit
  24. 18 Apr, 2021 1 commit
    • Kyle Russell's avatar
      swupdate: reboot on update from initramfs recovery image · bf95cb0f
      Kyle Russell authored and Stefano Babic's avatar Stefano Babic committed
      Create swupdate-progress-sysvinit and swupdate-progress-systemd packages with
      the necessary startup scripts for swupdate-progress to run correctly during
      startup for both virtual/init managers. swupdate-image initramfs should RDEPEND
      on swupdate-progress-sysvinit, which now adds a dependency on the swupdate-progress
      binary (packaged in swupdate-progress-bin).
      This allows swupdate-progress to simultaneously be installed in both a distro's
      main rootfs which uses the systemd DISTRO_FEATURE, and the initramfs image which
      uses sysvinit.
      The old swupdate-progress package is now empty, and can still be used as an
      RDEPENDS on the main rootfs image recipe, and swupdate will automatically
      select the appropriate startup script based on DISTRO_FEATURES.
      Signed-off-by: default avatarKyle Russell <bkylerussell@gmail.com>
  25. 17 Apr, 2021 1 commit
  26. 06 Apr, 2021 1 commit
  27. 05 Apr, 2021 1 commit
    • Stefano Babic's avatar
      swupdate: bump to revision fa7f5a1 · 9f4166c5
      Stefano Babic authored
      This adjust checksum for licenses because the licenses directory is
      renamed to LICENSES as specified by REUSE 3.0.
      This includes the following changes
      fa7f5a1 bsdqueue: Make REUSE compliant
      e870ac9 mongoose: Make REUSE compliant
      4ef88a9 LICENSES: Rename LGPL-2.1 to match SPDX ĺist 3.0
      af2cc98 LICENSES: Remove GPL-2.0, add GPL-2.0-only text
      2f513d1 LICENSES: Rename Exception to obey SPDX naming
      141380f doc: Add BSD 1-Clause to license list
      c1bad02 Rename Licenses to LICENSES for REUSE compliance
      77863d7 Fix SPDX inside the project
      550ac19 README: drop erroneous statement about license
      5c048cf (github/coverity_scan) core/stream_interface: add free space checks before writing file copies
      06e19d3 utils: fix get_output_size segfault if properties not set
      1474ac1 utils: move get_output_size from ubivol handler
      43952cc all_handlers_defconfig: add FAT formatter
      79b42c0 doc: handlers: add filesystem creation with diskpart handler description
      fb50fad handlers: diskpart: add filesystem creation support
      498fd2a fatfs: add wrapper for FatFs
      e419b06 Licenses: add BSD 1 clause license text
      c35590c fatfs: add FatFs library R0.14a by ChaN
      0404ce4 utils: add read_lines_notify helper
      3db1d94 grubenv: fix buffer overflow on strtok function
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>