usb: Update the RequestedActivation property

Subscribe to the add software interface, when an update is detected,
call back the updateActivation method and verify whether it needs
to be updated. If necessary:
1. Set ApplyTime to OnReset to prevent the bmc from restarting
   immediately after the update.
2. Change the RequestedActivation attribute value and start to update
   the image bmc.

Tested: Manually start the phopshor-usb-manager daemon, and saw that
the bmc upgrade file(*.tar) has been copied to /tmp/images and
the update has been triggered, and bmc has not been restarted
immediately.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ic650e34f8ec61d3c826332d28275db90f9ef348e
diff --git a/usb/meson.build b/usb/meson.build
index 9ac5876..bc4462a 100644
--- a/usb/meson.build
+++ b/usb/meson.build
@@ -13,6 +13,14 @@
     '../utils.cpp',
     ]
 
+sdeventplus_dep = dependency(
+    'sdeventplus',
+    fallback: [
+        'sdeventplus',
+        'sdeventplus_dep'
+    ],
+)
+
 phosphor_logging_dep = dependency(
     'phosphor-logging',
     fallback: ['phosphor-logging', 'phosphor_logging_dep'],
@@ -26,6 +34,7 @@
         CLI11_dep,
         phosphor_logging_dep,
         sdbusplus_dep,
+        sdeventplus_dep,
     ],
     install: true,
     install_dir: get_option('bindir')