update/sw-patch/bin
Al Bailey 70afae2b0e Debian: Fix patch controller prior to bootstrap
If /etc/resolv.conf is empty  the patch controller
will raise an uncaught exception due to osprofiler
attempting to validate dns.

osprofiler is unused by patching, so the module is
disabled by the patch controller.

All sw-patch CLI commands will fail prior to
setting up resolv.conf (bootstrapping) without this
fix, since there is no working patch controller

sysinv.common.utils also pulls in dns, so the two
utility methods are cloned into patching repo.

Test Plan:
 PASS Build/Install AIO-SX Debian
 PASS upload a patch

Story: 2009969
Task: 45838
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I0975f5b54a17a0989a78f6ac39160af0b3e26013
2022-07-21 02:17:17 +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 Debian: Fix patch controller prior to bootstrap 2022-07-21 02:17:17 +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