You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub-device-update/delta-updates.md
+5-17Lines changed: 5 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ An update handler integrates with the Device Update agent to perform the actual
36
36
37
37
### Delta processor
38
38
39
-
The delta processor re-creates the original SWU image file on your device after the delta file is downloaded, so your update handler can install the SWU file. The delta processor code is available in the [Azure/iot-hub-device-update-delta](https://github.com/Azure/iot-hub-device-update-delta) GitHub repo.
39
+
The delta processor re-creates the original SWU image file on your device after the delta file is downloaded, so your update handler can install the SWU file. The delta processor is available in the [Azure/iot-hub-device-update-delta](https://github.com/Azure/iot-hub-device-update-delta) GitHub repo.
40
40
41
-
To add the delta processor component to your device image and configure it for use, follow the README.md instructions to use CMAKE to build the delta processor from source. From there, install the shared object (libadudiffapi.so) directly by copying it to the `/usr/lib` directory:
41
+
To add the delta processor component to your device image and configure it for use, you can [download ](https://github.com/Azure/iot-hub-device-update-delta/tree/main/preview/2.0.0)a .deb package that is supported on Ubuntu 20.04 and later. If you are using another distro, follow the README.md instructions to use CMAKE to build the delta processor from source instead. From there, install the shared object (libadudiffapi.so) directly by copying it to the `/usr/lib` directory:
42
42
43
43
```bash
44
44
sudo cp <path to libadudiffapi.so> /usr/lib/libadudiffapi.so
@@ -73,20 +73,8 @@ The following table provides a list of the content needed, where to retrieve the
73
73
74
74
| Binary Name | Where to acquire | How to install |
75
75
|--|--|--|
76
-
| DiffGen |[Azure/iot-hub-device-update-delta](https://github.com/Azure/iot-hub-device-update-delta) GitHub repo | From the root folder, select the _Microsoft.Azure.DeviceUpdate.Diffs.[version].nupkg_ file. [Learn more about NuGet packages](/nuget/).|
77
-
| .NETCore Runtime, version 6.0.0 | Via Terminal / Package Managers |[Instructions for Linux](/dotnet/core/install/linux). Only the Runtime is required. |
78
-
79
-
### Dependencies
80
-
81
-
The zstd_compression_tool is used for decompressing an archive's image files and recompressing them with zstd. This process ensures that all archive files used for diff generation have the same compression algorithm for the images inside the archives.
82
-
83
-
Commands to install required packages/libraries:
84
-
85
-
```bash
86
-
sudo apt update
87
-
sudo apt-get install -y python3 python3-pip
88
-
sudo pip3 install libconf zstandard
89
-
```
76
+
| DiffGen |[Azure/iot-hub-device-update-delta](https://github.com/Azure/iot-hub-device-update-delta/tree/main/preview/2.0.0) GitHub repo |Download the version matching the OS/distro on the machine that will be used to generate delta updates. |
77
+
| .NETCore Runtime, version 8.0.0 | Via Terminal / Package Managers |[Instructions for Linux](/dotnet/core/install/linux). Only the Runtime is required. |
90
78
91
79
### Create a delta update using DiffGen
92
80
@@ -95,7 +83,7 @@ The DiffGen tool is run with several arguments. All arguments are required, and
- The script recompress_tool.py runs to create the file [recompressed_target_archive], which then is used instead of [target_archive] as the target file for creating the diff.
98
-
- The image files within [recompressed_target_archive] are compressed with zstd.
86
+
- The image files within [recompressed_target_archive] are compressed with gzip.
99
87
100
88
If your SWU files are signed (likely), you need another argument as well:
0 commit comments