How to support both Image Base Update & Script Base update at the same time. #455
Replies: 1 comment
-
If both content handler extensions are registered, then both can be used--each step in steps array of "instructions" of the import manifest just has to have appropriate "handler" value. swupdate v2 is recommended as it includes full support of swupdate features (via a custom swupdate handler v2 script payload). Also, I noticed typo -- it is missing 'r' for "libmicrosoft" in /var/lib/adu/extension/sources/libmicosoft_swupdate_1.so and /var/lib/adu/extension/sources/libmicosoft_swupdate_1.so |
Beta Was this translation helpful? Give feedback.
-
We can configure the Device Update Agent to support Image base & Script base update using below commands
sudo usr/bin/AducIoTAgent --extension-type updateContentHandler --extension-id 'microsoft/swupdate:1' --register-extension /var/lib/adu/extension/sources/libmicosoft_swupdate_1.so
sudo usr/bin/AducIoTAgent --extension-type updateContentHandler --extension-id 'microsoft/script:1' --register-extension /var/lib/adu/extension/sources/libmicosoft_script_1.so
If we need to support both then how we need to configure DUAgent so that it will support both at the same time.
Beta Was this translation helpful? Give feedback.
All reactions