Hello,

I am trying to use swupdate services to perform updates on my BSP but there is 
a problem that I am facing.
When update usb is plugged in during the boot time, swupdate core and 
swupdate-usb service run right after
each-other where swupdate-usb service is dependent on swupdate-core service. 
Therefore, the update fails as
core has not initialized yet when swupdate-usb launches the client.
I have tried adding service type as "exec" in swupdate core service and have 
tried both Requires and After in swupdate-usb
service but in all case swupdate-usb does not wait for core to be initialized 
completely before launching.
My understanding is that when service type is set to exec service manager will 
only assume that swupdate core service is
launched once main process of core is executed and with "Requires" set in 
swupdate-usb service it should wait till
swupdate core service has executed its main process and is assumed launched.
Can you please clarify the behavior of dependency in such cases and how it can 
be resolved.

Regards,
Muhammad Hamza
Siemens Industry Software (Private) Limited
Pakistan Engineering
6th Floor Ali Tower M. M. Alam Road Gulberg III
Lahore Pakistan, 54660
hamza.muhammad....@siemens.com<mailto:hamza.muhammad....@siemens.com>
www.sw.siemens.com<http://www.sw.siemens.com/>

[cid:image001.png@01D85BDC.C6596630]

Reply via email to