update/sw-patch/bin
Al Bailey f7442c98b9 Debian: sw-patch cleanup and repair of old code
- Assign 'system_mode' to 'simplex' when it is unknown.
 The system_mode is not set until after bootstrap.  Without
 this change, it defaults to duplex.

- Remove the Clean RPMS step from sw-patch init
 Debian does not use rpm, so this method can be removed.

- Remove rpm-audit utility.
 Debian does not use rpm, so this utility can be removed.

- Remove 'ID' as a 'required' field for make_test_patch
 since the utility has a default, and will not use an ID
 for some of its sub-commands.

- Remove the SafeConfigParser workaround which is no
 longer needed in Debian env.

- Add a fix for install-local so that the feed commit
is not sent if the host has not been provisioned.

Test Plan:
 Debian:  Build / Bootstrap / Unlock / Reboot AIO-SX
 Verify logs clean
 Verify no patch alarms
 Verify make_test_patch prepare does not prompt for ID

Story: 2009969
Task: 45409
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I75ada6e262533d9c6477721836b6ecdf213c25dc
2022-05-24 18:00:15 +00:00
..
make_patch Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
modify_patch Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
patch-functions Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
patch-tmpdirs.conf Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
patch_build Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
patch_check_goenabled.sh Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
patching.conf Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
patching.logrotate Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
pmon-sw-patch-agent.conf Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
pmon-sw-patch-controller-daemon.conf Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
policy.json Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
query_patch Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
run-patch-scripts Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
setup_patch_repo Update PatchData Object and parse Debian metadata 2022-04-28 20:22:39 +00:00
sw-patch Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-agent Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-agent-init.sh Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-agent-restart Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-agent.service Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-controller-daemon Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-controller-daemon-init.sh Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-controller-daemon-restart Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-controller-daemon.service Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-controller-init.sh Remove rpm imports from debian patching code 2022-04-27 16:31:09 +00:00
sw-patch-controller.service Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch-init.sh Debian: sw-patch cleanup and repair of old code 2022-05-24 18:00:15 +00:00
sw-patch.completion Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00
sw-patch.service Debian: Cleanup systemd errors for sw-patch.service 2022-04-21 21:08:04 +00:00
upgrade-start-pkg-extract Fork cgcs-patch package as sw-patch for Debian 2022-03-29 20:35:14 +00:00