- 25 Aug, 2021 3 commits
-
-
Stefano Babic authored
Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Autoversion tries to get the name of packages from the list of files for the CPIO archive, while the list of packages is already set in the SWUPDATE_IMAGES variable. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Instead of setting hash just for files going into SWU, scans sw-description for any occurencies of sha256 attribute. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- 23 Aug, 2021 1 commit
-
-
Stefano Babic authored
This is as preparation to introduce other classes in the layer. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- 01 Jul, 2021 2 commits
-
-
Increase flexibility of automatic versions by adding support for definition of the packagedata key in version tag. Signed-off-by:
Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
-
Assign variable before checking and print a more useful error message if none of the files in `list_for_cpio` can be found in group. Signed-off-by:
Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
-
- 10 Jun, 2021 1 commit
-
-
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:
Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
-
- 15 Dec, 2020 2 commits
-
-
In release 2019.11, support for the salt encryption parameter was removed (see commit 9ce94342d3c212b06a283f95dc9c1c8c52155ce7). Consequently, remove all references to a salt value for key creation and encryption. The keyfile for encryption can still contain a salt value, it will simply be ignored. Also remove obsolete cmd variable. Signed-off-by:
Christoph Lauer <christoph.lauer@xtronic.de> Signed-off-by:
Christoph Lauer <dev@online.ms>
-
The python function swupdate_extract_keys returns the encryption values key, iv and salt with a line feed ('\n') at the end, which needs to be removed. Signed-off-by:
Christoph Lauer <christoph.lauer@xtronic.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- 11 Dec, 2020 1 commit
-
-
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:
Christoph Lauer <christoph.lauer@xtronic.de>
-
- 30 Nov, 2020 1 commit
-
-
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 <sbabic@denx.de>
-
- 26 Nov, 2020 1 commit
-
-
Stefano Babic authored
Add support to swupdate.bbclass to encrypt artefacts before packing them into the SWU. This guarantees that all artefacts are encrypted with the same key. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- 04 Aug, 2019 1 commit
-
-
As for RSA sign check if SWUPDATE_PASSWORD_FILE is set and use it to decrypt the private key and sign Signed-off-by:
Ayoub Zaki <ayoub.zaki@embexus.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- 30 Jan, 2019 1 commit
-
-
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 <sbabic@denx.de>
-
- 28 Nov, 2018 1 commit
-
-
Stefano Babic authored
Even if the current check remind that a variable is maybe missing, there are use cases where it is useful to replace an empty variable. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- 05 Oct, 2018 1 commit
-
-
Signed-off-by:
Reto Schneider <reto.schneider@husqvarnagroup.com>
-
- 23 Jul, 2018 1 commit
-
-
This is a preparation step to be able to use it as an fstype. Signed-off-by:
Raphael Freudiger <raphael.freudiger@siemens.com> Tested-by:
Stefano Babic <sbabic@denx.de>
-