update/sw-patch
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
..
2022-07-13 17:54:33 +00:00