This commit enables installation of in-service patches in a
Debian env by doing a hot update to make the pending
deployment live.
Test:
1) Verify that "sw-patch upload" stages the restart scripts
(if any) at /etc/patching/patch-scripts
2) Verify that "sw-patch delete" deletes the restart scripts
(if any) from /etc/patching/patch-scripts
3) Verify restart scripts are executed after a patch is applied
4) Apply and install in-service patch
Story: 2009969
Task: 45585
Depends-On: https://review.opendev.org/c/849134
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
Change-Id: I93a39c0b4de73c5043592acaad1a62e17144d186