Rampur, Manoj Greetings!
I tried to push the updates to Ubuntu but it's failing and .swu file is not downloading fully in the workfolder, I need the right update.sh file and .manifest.json file to push the updates to Ubuntu.
Could you please provide more details about the error message you're receiving when trying to push the updates to Ubuntu?
Please create those files(update.sh and .manifest.json) and respond ASAP so that I can use those files along with the .swu file and push the updates to Ubuntu through Azure Portal or any other working example with the .swu file, update.sh and manifest.json will be fine.
I would suggest you, create an issue in the same repo for further assistance.
Edit:
I see that your issue has been addressed on the Github repo.
From your device twin, it looks like the argument for passing in the installed criteria has a typo:
It has --intalled-criteria 1.0
but it should be --installed-criteria 1.0
.
NOTE: the missing "s"
Also, make sure the /etc/adu-version in the .swu image has a line with 1.0
"instructions":{"steps":[{"handler":"microsoft/swupdate:2","files":["f9938843efef12267","fe02407a96dfbe7cf"],"handlerProperties":{"scriptFileName":"example-a-b-update.sh","arguments":"--action-install --intalled-criteria 1.0 --swu-file audio-analytics-update_1.2.swu --work-folder ","installedCriteria":"1.0",