mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-20 06:44:27 +01:00
Let's remove the whole content from: * /opt/confidential-containers/libexec * /opt/confidential-containers/share And then manually remove the binaries under bin directory` as the pre-install hook will drop binaries there. Finally, let's call a `rmdir -p /opt/confidential-containers/bin` which should take care of the cleanup in case no pre-install hook is used, and let's make sure we pass `--ignore-fail-on-non-empty` so we don't fail when using a pre-install hook. Fixes: #5128 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>