1. 22 Mar, 2021 1 commit
    • Pierre-Jean Texier's avatar
      swupdate: bump to revision 9b2155e · 7e7afffb
      Pierre-Jean Texier authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      9b2155e Lua: add getroot function
      0ac47ed util: add function to retrieve root device
      829d11e IPC: extend to set accepted versions
      c46a180 Rename structure globals to parms
      7039df5 Restructure swupdate data
      0cfd653 Cleanup: type boolean in general structure
      8b4be00 Type dry_run as bool
      19d94fd Introduce an upper check for version to be installed
      0b34b6a raw handler: fix typo
      0968c76 state: Make save_state() write to STATE_KEY unconditionally
      87ed2e3 server_general: fix call of read_module_setting
      338dc8e Avoid re-opening and reading configuration file
      69f5d5a Lua: export preserve-attributes property
      506ad34 Core: Properly close socket after processing in networking thread
      e4eb7e5 doc: add talk at Liveembedded 2020
      aa91186 Make IPC more robust
      bf414d1 Config parser: Additional logging
      2d6555f Added software select to swupdate.cfg globals
      39483e6 Enable tracing for early start up code
      99e3f79 Simplify get_sw_versions
      063c066 state: Update code comments on persistent state handling
      05ce5c9 state: Optionally disable setting ustate marker
      ee47553 Fix install-if-higher behaviour if version is equal
      b11f494 Fix coverity #316445
      348cc4e Fix coverity #316444
      f6d7216 parser: add hook to partitions
      e1ae537 parser: follow the links
      5069ad4 parser: split find_node function
      6af3c38 editorconfig: added settings for *.cfg files
      e1915f1 bootloader: EBG: update transaction marker handling
      5df09dd bootloader: EBG: env_unset(STATE_KEY) ~ env_set(STATE_KEY, STATE_OK)
      0183fd7 IPC: allow to enable programmatically -o flag
      f77a762 Makefile: Run acceptance tests sequentially
      d525b3d channel_curl: Improve tracking of download progress
      1a22eca raw handler: Allow symlink traversal in blkprotect
      ea19f2f Replace int with enum in check_if_required
      d4a8bfe gservice: add missing dependency
      b1d1cd1 diskpart: fix warning in TRACE
      526e36b Sync update from file with CV
      a7f5568 Added missing copyright for strlcpy function
      6500f1e Add isc license text to Licenses
      f700061 lua: link lua_swupdate library
      4ebaad0 Create output directory for -o option
      91e9fea swupdate-client: use CV for synchronization
      58c5c5d Drop handling of exit status when install from file
      f5fc64b Drop unneeded wrapper save_state_string
      8b70ae5 Drop separate installation path for local file
      f65b3ea Fix warnings in mongoose code
      0fa7f9b Cleanup: drop dead code for Webserver API
      0c5b7d2 mongoose: updated to 6.18
      a18599a README: rework and drop obsolete parts
      08d95fa README: add license badge
      9123cf4 util: Whitespace fixes
      80408e0 util: Fix CID 314958
      a8794bf doc: improve roadmap
      d1494b7 doc: improve description how SWUpdate runs
      a1b8296 Make access to bootloader state exclusive also for GET_UPDATE_STATE
      27d4ad7 Execute subprocess IPC in separate thread
      1829ea7 Progress: set message status in download and progress mode
      0d23f72 Use valid JSON key format when sending progress info message
      70ce28a Add force flag in Makefile when creating symbolic link of shared IPC library
      4ca2f9d Remove unused compiler attributes from bootloader RAM environment implementation
      2aceb66 Type encrypted flag as bool
      Signed-off-by: default avatarPierre-Jean Texier <pierre-jean.texier@lafon.fr>
  2. 18 Dec, 2020 1 commit
    • Pierre-Jean Texier's avatar
      swupdate: bump to revision d3f207f · 635f4d11
      Pierre-Jean Texier authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      d3f207f Fix memory leak after sending progress message with version string
      f476577 handlers/swuforward_handler.c: Correct failing returns
      661b9c6 swuforward-ws.c: Prevent segfault in TEXTRANGE_TO_STR
      0295914 pkcs11: Fix first block decryption
      a776b59 pkcs11: Eliminate additional buffer
      31178ec notifier: fix termination string when console is not used
      9763342 Prepare 2020.11
      Signed-off-by: default avatarPierre-Jean Texier <pierre-jean.texier@lafon.fr>
  3. 28 Nov, 2020 1 commit
  4. 28 Oct, 2020 1 commit
    • Stefano Babic's avatar
      SWUpdate: Bump to version bd2685e · fbbba41c
      Stefano Babic authored
      This includes the following changes:
      bd2685e swupdate-progress: add quiet mode
      71bb096 swupdate-progress: move code for bars in function
      f61d255 handlers: add new handler to check UUID
      985176f Reset progress values after Update is completed
      c942421 hakbit: missing initialization of msg in postupdate
      6bc7475 Use swupdate_download_update in curl connections
      c908117 Replace prbar name in progress thread
      029738e Rework emit download progress
      b369d54 progress API: set define for info field size
      2fd3949 downloader: drop unuseful marker when dwl is started
      0396cab progress: Handle EINTR in progress_ipc_receive()
      a1d9b47 progress: Handle all progress_ipc_receive() error conditions
      0b83e24 doc: add links to SWUpdate related talks, ELC 2020
      37b6c6f doc: update list of handlers
      86098d8 progress_thread: Send VERSION as valid sub-JSON in progress IPC
      8fe30c2 channel_curl: Add CURLOPT_POSTREDIR option
      d930c99 Kconfig: Disable Suricatta on unavailable curl
      1073d12 Kconfig: Unify swuforwarder unavailability messages
      31cff86 Kconfig: Remove unused option
      54ec8e9 Kconfig: Move U-Boot unavailability message to choice
      476490b Suricatta: Fix activation IPC behavior when Hawkbit is not accessible
      9db9458 Drop extra include path for p11-kit
      2f0b1c8 wolfssl: Prepend includes and add options.h
      6dfa291 openssl: Remove stray includes
      aa72c97 tools: swupdate-sendtohawkbit: Fix JSON string for 'details'
      63a8bc7 tools: swupdate-sendtohawkbit: Fix setting IPC message length
      d8a0790 channel_curl: Strip CR in addition to LF from headers
      a89f288 Make curl features independent from SSL implementation
      bdec44a handlers: ubivol: rework size properties
      60c64e8 travis: Use libwebsockets and libgpiod packages
      b8a15ad travis: Update to Ubuntu 20.04 (Focal Fossa)
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  5. 24 Sep, 2020 1 commit
    • Stefano Babic's avatar
      swupdate: bump to version 7c78773 · 26cc2024
      Stefano Babic authored
      This includes the following changes:
      7c78773 channel_curl: Support for custom headers
      09fd046 channel_curl: Strip newline from received key-unique headers
      413e81f Lua: Improve LuaJIT / Lua 5.1 compatibility
      ee8bf12 scripts: Fix format-overflow compiler warning
      9ed68f2 state: Rename reset_state() to unset_state()
      bcb7c2d cpio header: Add support for newc format
      f8ee098 IPC: Add bounds check for SET_UPDATE_STATE IPC call
      3fb504c doc: handlers: Describe property decompressed-size
      8e6187f handlers: ubivol: add property decompressed-size
      33ed601 encrypted images: Test other key lengths
      907315b doc: encrypted images: Using different key lenghts
      4ea0899 encrypted images: Implement other key lengths in providers
      cfb2917 encrypted images: Accept other AES key lengths
      aed6e94 doc: encrypted images: Add a PKCS#11 section
      1b56d69 doc: Add note on the PKCS#11 libraries
      30f81ef pkcs11: Differentiate key handling based on config
      3bb2c19 Kbuild: Add PKCS11 option
      7d961aa pkcs11: Implement based on wolfSSL and p11-kit
      816cec1 sslapi: Add wolfSSL compatibility macro
      b214f6a mongoose: Hide deprecated function for wolfSSL
      ba8c4a8 Makefile.flags: Add missing wolfSSL definitions
      d2491dd sslapi: Add X509 related wolfSSL definitions
      6f9a761 sslapi: Move CMS-only functions to conditional
      fa1ba52 Rename wolfSSL incompatible definition
      7fe9b4a Kbuild: Add wolfSSL as SSL implementation
      0f03c06 channel_curl: Introduce support for PATCH method
      16e10c4 channel_curl: Make setting channel operation method symmetric
      61d5e28 channel_curl: Rename to channel_callback_ipc()
      372f9c0 channel_curl: Pass through dry_run flag
      daa98b7 suricatta: Adapt to CHANNEL_PARSE_NONE
      0e54840 channel_curl: Make CHANNEL_PARSE_RAW actually "parse"
      c5b7b53 channel_curl: Consolidate effective URL logging
      440f0af channel_curl: get_file: use log function
      330d053 channel_curl: put: use log function, respect nocheckanswer
      3075c60 channel_curl: post: use log & buffer functions, respect nocheckanswer
      795b0ea channel_curl: Factor out channel reply log handling
      5465058 channel_curl: Factor out channel reply buffer handling
      39f0827 channel_curl: Consolidate curl verbose setting
      eede9a3 channel_curl: Make setting request_body symmetric
      e6c98b4 bootloader: remove cruft
      eb1f7d8 rsa_verify_mbedtls: Support RSA PSS
      fa9d27c hawkBit: Fix spelling of hawkBit
      d46655b core: Refactor config file reading to fail early
      9e0bcaa encrypted images: Prevent premature decryption end
      8c43208 doc: Update SWUpdate's understood command line parameters
      5987e62 doc: Fix typo in suricatta's general HTTP server description
      b9cceb8 examples: Update configuration file example
      744def0 encrypted images: fix one block sized image decryption
      a464d8d Make logcolors optional in configuration file
      a5e2e5c diskpart: do not write to disk if partitions do not change
      036e858 Replace WARN with ERROR if save_state fails
      bc47fdd parser: add result of version check in TRACE
      602ab84 doc: encrypted images: Add note on ivt attribute
      347ab28 doc: Mention general HTTP server in suricatta's introduction
      1b68a3b doc: Fix sphinx warning about unterminated bullet list
      5507fec Configure colors for stdout / stderr
      185ec65 lua: BUG in LuaStackDump causes SEGV
      d39dd41 Move artifact version check to inner parsing loop
      7e88bfb diskpart: fix crash in case if GPT
      21136eb Save Update State after each update
      3cd4e82 Make save_state available to coprocesses
      5af74e1 Start network threads before processes
      25ba0a9 Fix progress info message so it can be embedded in a JSON doc
      0297485 doc: extend example for diskpart
      b968508 Fix typo in update status report
      a4f06c3 doc: add ELC 2020 talks with SWUpdate
      9b8b498 diskpart: fix adding more as 4 partitions
      019edd7 examples: client: add port as argument for swupdate-client.py
      e41004b handlers: ubivol: add property always-remove
      1f4189c Regression: allow SW version comparisons as strings
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  6. 13 Jul, 2020 1 commit
    • Stefano Babic's avatar
      Bump to version 609ad51 · e3606b2a
      Stefano Babic authored
      This includes the following changes:
      609ad51 swupdate-progress: Terminate bar array string
      9aa4bbe lua: Prevent mtdname and path from clobbering each other
      57f64a9 core/artifacts_version: Don't concat version
      b060243 core/artifacts_version: Fix infinite loop in is_oldstyle_version()
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  7. 08 Jul, 2020 1 commit
    • Joshua Watt's avatar
      swupdate: Build out-of-tree · 035538a1
      Joshua Watt authored and Stefano Babic's avatar Stefano Babic committed
      Configure the recipe to build swupdate out-of-tree. This is extra
      helpful when building with externalsrc or devtool. A bug fix in swupdate
      is required for out-of-tree builds to work, so it is currently only
      enabled for the git version, and the fix has been brought in there.
      Signed-off-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
  8. 08 Jun, 2020 1 commit
    • Joris Offouga's avatar
      swupdate: bump to version 4ad398c · dff42d41
      Joris Offouga authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      4ad398c Add option to disable cpio CRC check
      be8f129 Makefile: fix the tests target
      a11c349 acceptance-tests: signatures work only with CMS
      4b38d2d acceptance-tests: libconfig and raw config
      e2fd804 Bump size of ivt_ascii field to 33 bytes to include zero-terminator
      9983cce ascii_to_bin: rework interface to accept destination length
      e7400c5 ascii_to_bin: rename arguments to clarify function
      8a11494 _progress_ipc_connect: in case of reconnect option disabled return error instead of exit
      d789039 signature: ifdef for mbedtls public key operations
      589d3c9 Move swupdate_dgst_init to the right place
      13e4f3e configs: remove debian_defconfig
      1af7b70 doc: fix wrong rendering of command line parms
      d406578 tools: fix coverity #292171 in swupdate-progress
      40093b0 suricatta: drop dead code
      b8015d4 swupdate-progress: fix psplash_fifo_dir
      81f5378 chmod a-x on jpg and png files of the website
      19ed53a Set 2020.04 as version in documentation
      1ef1e2d Consolidate variable naming for the dry run option
      Signed-off-by: default avatarJoris Offouga <offougajoris@gmail.com>
  9. 24 Apr, 2020 1 commit
  10. 14 Apr, 2020 1 commit
    • Stefano Babic's avatar
      swupdate: bump to version 088b65d · 68673ce3
      Stefano Babic authored
      This includes the following changes:
      088b65d test: make requirement for gawk explicit
      f2719f4 README: add link to list of features
      9a65443 hawkbit: process_notification_thread shall check data_avail before status
      064f5a7 Fix coverity #292124
      ae32ad7 Fix coverity #292113
      0938c8b Fix coverity #292117
      fe7c90d Travis for coverity
      587c631 core: Fix CID 292204 copyfile() out parameter check
      ddc9479 core: Fix CID 292180 save_stream() check read error
      46f4700 suricatta: Fix CID 292131 constant dead code guard
      bb6ec4b core: Fix CID 292129 save_stream() fd leak
      6c8a4dc ipc: Fix trailing whitespace in network_ipc.c
      a0ba1d7 ipc: Fix CID 292125 network_ipc prepare_ipc()
      171c675 core: Fix CID 292110 cpio_utils extract_sw_description()
      b21a5ae Fix coverity #292168
      d777853 Fix coverity #292154
      79e6c2c Fix coverity #292118
      a53445f handlers: swuforward: Fix CID 292163 and 292165
      e0e1376 diskpart: fix coverity #292144
      bc4a149 core: Fix whitespace issues in network_thread.c
      6491901 core: Fix CID 292193 argument cannot be negative
      6dd7c5f mongoose: Fix CID 292194 logically dead code
      c223d7c core: Fix CID 292152 bad shift operation
      e8e15dd doc: improve link with reference documentation
      b27b139 Replace strncpy() with strlcpy()
      f628881 Fix coverity #292212
      ca00d83 Introduce strlcpy() as string copy replacement
      89b3d7a Fix coverity #292111 in swupdate-sysrestart
      aa71c29 Fix double free when splitargs is called
      5d4f42a Do not raise ERROR if MTD is not present
      9c41b06 Fix resource leak #292188 in flash_handler
      60fe9ea Fix resource leak in extract_scripts
      b66ad34 mtd-interface: replace LIST_FOREACH with LIST_FOREACH_SAFE
      855947e parser: replace LIST_FOREACH with LIST_FOREACH_SAFE
      b1adbb2 diskpart: replace LIST_FOREACH with LIST_FOREACH_SAFE
      3f2221f (tag: 2020.04-rc1) Prepare 2020.04-rc1
      e757cbc BUG: all images runs in streaming mode
      548ed79 IPC: do not overwrite message type
      e44925d tools: explicit send destination for IPC command
      2441933 Permit a per artefact IV to decrypt
      aa97f75 IPC: extend to set AES key
      f01e637 util: export function to set AES key
      fe0ef95 util: export ascii_to_bin funtion
      ffd30f1 util: just move static function at the beginning
      f9aeae2 Drop "confirm" from configuration file
      affe2c9 hawkbit: configure if to use token when getting file
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  11. 17 Mar, 2020 1 commit
    • Pierre-Jean Texier' via swupdate's avatar
      swupdate: bump to revision f735ee7 · 7f7ebbc7
      Pierre-Jean Texier' via swupdate authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      f735ee7 test: fix hawkbit test case
      8963660 Use SSL conditionally in general suricatta variant
      cfae014 Select CHANNEL_CURL_SSL with SURICATTA_SSL
      ea50cc6 hawkbit: send log of the update to the server
      6896f25 Factorize snescape function
      43471fc IPC: add get_status_timeout
      8fb94d7 Intercepts the output of shell scripts
      c981949 Factorize calls of system()
      aa6ff03 Rename token field in curl structure
      c3450e2 hawkbit: free not called by setting token
      a732367 Fix SIGALG_RSAPSS with mbed TLS
      a4ebb98 Use SSL provider for mongoose
      c20be59 Do not traces messages for progress interface
      2c1c8b8 tools: swupdate-hawkbitcfg: print returned IPC message
      a19e03d tools: swupdate-hawkbitcfg: set IPC message length
      4110532 stream_interface: Keep reading the cpio padding
      d465647 Move fixed option into core directory
      119173d swupdate-progress: fix warning
      cbf02f8 Support systems without locale in toolchain
      ab4994c doc: Add command line arguments for suricatta and downloader.
      9a64781 suricatta: added option to bind to interface/IP address.
      86f273c swupdate-progress: allow to call a script after an update
      857cde1 examples: add enable attribute to suricatta section
      68026ae suricatta: add enable / disable at startup
      4cf3d1e server_hawkbit: do not raise error in case of unrecognized option
      afac0f0 server_general: do not raise error in case of unrecognized option
      f66b259 Remove warning in swupdate-sysrestart
      2dd2200 parser: value for bootloader reused
      9c4044f util: Fix memory leak
      3e1f167 doc: Remove special handling of "data" volume
      87d04b9 handlers: ubivol: Special handling for zero sized volumes
      792a4af swupdate: run pre-update command hook earlier
      af717f0 Makefile: Fix out of tree build for tools
      0dac45d swupdate-sysrestart: Fix potential buffer overflow
      abdd651 util: Add missing includes
      f884f11 diskpart_handler: Fix printf format warnings
      b00d2eb suricatta: Add missing includes
      a8dd938 rsa_verify_mbedtls: Add missing includes
      bdbcb75 IPC: Add missing includes
      74a3134 swupdate: Fix printf format warning
      f8a49af parser: Fix printf format warnings
      88e6c3e Makefile: Fix out of tree build for documentation
      0a43820 Do not hardcode install path
      edaa956 doc: document IPC to suricatta daemon
      8ca8e77 tools: enhance swupdate-hawkbitcfg
      e705a76 suricatta: add IPC copmmand to enable / disable
      06162a1 suricatta: factorize server_tokenize_msg
      5d5a371 hawkbit: rename server_set_polling_interval
      28984ab Factorize IPC to suricatta
      b99481d Send version string to progress interface
      4383dec travis: add libfdisk for disk handler
      27f2c96 configs: add config to build all handlers
      237d5a4 Add disk partitioner handler
      d00f462 parser: relax partition check
      f1c9d26 handlers: trim Config.in trailing whitespace
      84c19b8 doc: handlers: trim trailing whitespaces
      56b2f1b doc: handlers: add readback handler documentation
      5428017 handlers: add readback handler
      e155f2b Updated defconfigs
      82a157e bootloader: drop suppport for legacy U-Boot tools
      b0bbbbe webserver: do not flood with ERROR when IPC ic closed
      16f44d8 Run all partition's handlers in case of streaming
      3445052 swupdate_file_setnonblock: simply returns from fcntl
      08e755d ssbl handler: removed testcode used for development
      8b20916 doc: build swupdate-sysrestart man page
      a668db5 test: temporary disable some tests for Hawkbit
      e261300 Drop target suricatta-tests
      3e6c378 test: fix suricatta-tests and move them to tests
      d1336c3 lua: pass parameter string to lua scripts
      da851ce doc: document language bindings
      8a42ef5 Bindings: Implement control socket binding for Lua
      01f0b52 IPC: factor out pthread-based methods
      7f4e63f travis: set libgpiod version
      cfe8fea server_general: fix polldelay option
      88b85c3 Webserver: drop multiplication factor for monitoring
      98b0ee9 Webserver: write to IPC in non blocking mode
      2be647d util: global function to set non blocking mode
      f104511 mongoose: set receive limit to 256KB
      033ce81 mongoose: SPDX and GPLv2 license
      aa35322 Fix warnings in mongoose code
      c99c796 Updated mongoose to 6.16
      9b2a236 doc: fix build of man pages
      5de3bc3 Prepare 2019.11
      9fe934b examples: add timeout to Webserver setup
      6d8179a doc: new roadmap after 2019.11
      503993c doc: update swupdate-sendtohawkbit.{cfg -> rst}
      4ab9d7b Webserver: drop help for API
      37089b0 Webserver: monitor and check for lost connection
      eff52c0 Protect define of ARRAY_SIZE
      cd4439f webserver: drop dead code for V1
      Signed-off-by: default avatarPierre-Jean Texier <pjtexier@koncepto.io>
  12. 16 Dec, 2019 1 commit
  13. 16 Nov, 2019 1 commit
  14. 15 Nov, 2019 1 commit
  15. 10 Nov, 2019 1 commit
    • Stefano Babic's avatar
      swupdate: improve systemd config · 135d46bc
      Stefano Babic authored
      For most projects starting swupdate requires some logic implemented
      in shell scripts. Therefore swupdate is now started by a shell script
      if systemd is enabled in DISTRO_FEATURES.
      The new swupdate startup script sources code snippets located in
      /usr/lib/swupdate/conf.d and in /etc/swupdate/conf.d. The snippets are
      executed in alphabetical order. The idea is that files in /usr are added
      at build time and files in /etc might be added or modified at run-time.
      If two scripts, one in /etc and one in /usr have the same file name, the
      script in /usr gets skipped completely. This allows to disable code in
      /usr, which is probably mounted ro, at runtime.
      Code snippets are automatically generated at build-time, depending on
      the configuration created by swupdate's menuconfig. But code snippets
      may be created manually and added via bbappend to the
      /usr/lib/swupdate/conf.d folder as well.
      All modes (file, webserver, webclient) of swupdate are supported.
      Different variables might be defined by the code snippets added to the
      named folders:
      Finally swupdate gets started by a line similar to:
        exec /usr/bin/swupdate $SWUPDATE_ARGS \
                               -w "$SWUPDATE_WEBSERVER_ARGS" \
                               -u "$SWUPDATE_DOWNLOAD_ARGS"
      The default set of configuraton and service files is now installed by
      the "make install" target of the swupdate Makefile. The service files
      which are not used for the latest git version of swupdate are moved
      to swupdate-2019.04 folder.
      Fixes in do_install
      - This changes the filenames of the tools binaries for several reasons:
        - Binaries should not be named "client" or "progress"
          (also not accepted by Debian upstream)
        - Inconsistent with names referred in the service files
      - The swupdate_tools.inc file gets merged into swupdate.inc file. By
        removing the tools file some bugs are fixed:
        - The tools binaries were installed twice.
        - do_compile from swupdate.inc was over written resulting in wired
        - swupdate-progress.service file was part of swupdate package were
          the corresponding swupdate-progress binary was part of the tools
      Improve package splitting
      - New packages are: swupdate-client, swupdate-progress, swupdate-usb,
      - Additionally swupdate-sd, swupdate-sv, swupdate-usb-sd and
        swupdate-progress-sd have been introduced. The purpose of the -sd
        and -sv packages is to provide the systemd service files or the
        sysv init scripts. Splitting the init scripts and service files is
        very atypical for Yocto, but it offers the flexibility to build a
        second minimal rescue image with sysv, just capable to run swupdate,
        out of the same DISTRO.
        By default (if not changed by a bbappend file) the rdepends are
        set e.g. from swupdate-usb to swupdate-sd, if systemd is enabled.
      - The swupdate-tools package is an empty meta package now. It provides
        backward compatibility for setups installing swupdate-tools. It
        depends on swupdate-client, swupdate-progress, swupdate-usb,
        swupdate-tools-hawkbit packages.
      Remove the INSANE_SKIP_${PN} = "ldflags". Seems obsolete.
      Signed-off-by: default avatarAdrian Freihofer <adrian.freihofer@siemens.com>
      Signed-off-by: Stefano Babic's avatarStefano Babic <sbabic@denx.de>
  16. 29 Oct, 2019 2 commits
    • Adrian Freihofer's avatar
      swupdate: bump git srcrev · 9f1d8a6c
      Adrian Freihofer authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      045a618 raw_handler: handle ro block devices
      5700346 Makefile: rename tools binaries
      48f22c6 add .editorconfig file
      e5e7e02 doc: describe REST api
      75985aa Add Kconfig option for new systemd files
      bdc1d3c systemd generic startup
      16790d1 doc: fix broken link for talks
      7c8926d ssbl_handler: fix age comparison
      f130541 travis: set libwebsockets version
      9409e9a Prepare 2019.11-rc1
      d8d9fd4 handler: add a copy handler
      21594da Add SSBL Handler
      34c55f1 handlers: sort the list of modules in Makefile
      ede66e7 doc: add scenarios how to use SWUpdate
      a5e82b9 doc: add links to single and double copy scenarios
      c744dfe Cosmetic: rename entry points in raw handler
      864dedd raw handler: return error number instead of -1
      e38ad73 handler: push progress status from bootloader handler
      cfaec8c u-boot handler: fix removing variable
       doc: ELC video published on YouTube
      07811c7 swupdate: add pre-update command hook
      da974cd doc: update list of talks with ELC 2019
      Signed-off-by: default avatarAdrian Freihofer <adrian.freihofer@siemens.com>
    • Adrian Freihofer's avatar
      swupdate git define PV · 31d22095
      Adrian Freihofer authored and Stefano Babic's avatar Stefano Babic committed
      The devtool workflow does not work without setting PV properly.
      To prefer the git version add the following line to the distro config:
        PREFERRED_VERSION_swupdate = "2019.04+git%"
      Signed-off-by: default avatarAdrian Freihofer <adrian.freihofer@siemens.com>
  17. 18 Sep, 2019 1 commit
    • Pierre-Jean Texier' via swupdate's avatar
      swupdate: bump git srcrev · ebd88fe3
      Pierre-Jean Texier' via swupdate authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      a8d4538 bootloader transaction marker: allow to disable globally via cmdline
      c3ef374 Change license for Logo
      e06c7d9 lua: export swupdate_progress_update
      4f41d74 parser: allow skip for bootenv
      6144c27 Stream the SWU in a file chosen in sw-description
      c533766 parser: added output attribute
      3947e88 util: add macro to align a buffer
      a49c1d9 cpio: export get_cpiohdr function
      c704549 Add tests for the TLS code
      edd5691 bootloader: fix typo
      911bf46 Add cpp guards in IPC interface
      d9a61e9 doc: fix WARNING: Title underline too short.
      07bebd9 parser: support hook for bootloader entries
      685ea77 doc: update talks list with LinuxLab 2018
      Signed-off-by: default avatarPierre-Jean Texier <pjtexier@koncepto.io>
  18. 29 Jul, 2019 1 commit
    • Pierre-Jean Texier' via swupdate's avatar
      swupdate: bump git srcrev · 56a1a579
      Pierre-Jean Texier' via swupdate authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      d3c0bfa Add mbedtls as an alternative SSL implementation
      76f5e4b rdiff_handler: remove WARN in case of missing EOF
      49354e8 rdiff_handler: fix compressed / encrypted delta
      44a6d09 rdiff_handler: differentiate TRACE in fill_inbuffer
      72be778 add attribute install-if-higher
      54426aa handles: ubivol: add property auto-resize
      439ca54 handlers: ubivol: create a function resize_volume
      3917b1c swuforward: drop support for V1 Website
      0e6a1bc hw compatibility check: add regexp support
      4fc82ee swupdate: drop unnecessary strlen check
      c2ef97d parser: check_missing_hash: use flag NO_DATA_HANDLER
      1ffdf8b swupdate: check_provided: use flag NO_DATA_HANDLER
      e7d22e7 handler: ubivol: set flag NO_DATA_HANDLER
      940317f handlers: add a special handler flag NO_DATA_HANDLER
      8c9618a rsa signature: add support of rsa-pss
      77b05c5 Name of a running handler is never updated in the progress_msg
      327a967 doc: Update sw-description documentation (remove ',' in the examples)
      5a36f09 webserver: pass user_data to the upload handler in the case of an error
      d7424cb Add more config options to debian_defconfig
      81ab86c parser: don't check hash for image of type ubiswap
      467dd6e handlers: ubiswap: may swap several ubi volume
      ff17986 scripts: a file is no longer required
      720cf6d travis: update to bionic
      Signed-off-by: default avatarPierre-Jean Texier <pjtexier@koncepto.io>
  19. 03 Jul, 2019 1 commit
    • Pierre-Jean Texier' via swupdate's avatar
      swupdate: bump git srcrev · ec73a561
      Pierre-Jean Texier' via swupdate authored and Stefano Babic's avatar Stefano Babic committed
      This includes the following changes:
      9ce9434 Remove the superfluous salt parameter
      8ef2946 tools: swupdate-sysrestart to restart system
      ecc9bf3 swuforward: rework to use new Website
      7e696fc util: add function to get a substring from a string
      2211234 Put the UDS in the directory pointed by TMPDIR
      d69ffc5 progress: allow to pass the UDS in the connection
      db80704 handlers: shell scripts: fix typo in postinstall function
      cc68fff configs: add a test config for ucfw handler
      c7dcf13 doc: handlers: ucfw: improve description
      f1c8fff /core/swupdate.c: dynamic memory allocation for downloader, suricatta and webserver options
      f811c91 u-boot: fix script format when !CONFIG_UBOOT_NEWAPI
      ee17493 Lua: fix segfault in image property handling
      Signed-off-by: default avatarPierre-Jean Texier <pjtexier@koncepto.io>
  20. 31 May, 2019 1 commit
  21. 30 Apr, 2019 1 commit
  22. 06 Mar, 2019 1 commit
  23. 26 Dec, 2018 1 commit
  24. 06 Sep, 2018 1 commit
  25. 27 Jul, 2018 1 commit
  26. 21 Feb, 2018 1 commit
  27. 30 Jan, 2018 1 commit
  28. 16 Dec, 2017 1 commit
  29. 31 Jul, 2017 1 commit
  30. 27 Jul, 2017 2 commits
  31. 25 Jul, 2017 1 commit
  32. 11 Jul, 2017 1 commit
  33. 13 Nov, 2016 1 commit
  34. 16 Jun, 2016 1 commit
  35. 25 Mar, 2015 1 commit
    • Magnus Olsson's avatar
      swupdate: Split common parts into separate include · f328fa8f
      Magnus Olsson authored and Stefano Babic's avatar Stefano Babic committed
      Split the swupdate_git.bb recipe into common include-file that can be used
      to create swupdate recipes that are locked to a certain release without
      duplicating recipe content.
      The initscript bits are not part of the common include file since it is not
      always desired to install an initscript (i.e when swupdate is not build to
      go into background / no webserver).
      Signed-off-by: default avatarMagnus Olsson <magnus@minimum.se>
  36. 23 Mar, 2015 3 commits