We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9140d1 + 0746c6e commit c0c2c1eCopy full SHA for c0c2c1e
1 file changed
scripts/pattern-util.sh
@@ -64,8 +64,10 @@ fi
64
# if we are using podman machine then we do not bind mount anything (for now!)
65
REMOTE_PODMAN=$(podman system connection list -q | wc -l)
66
if [ $REMOTE_PODMAN -eq 0 ]; then # If we are not using podman machine we check the hosts folders
67
- # Use /etc/pki by default and try a couple of fallbacks if it does not exist
68
- if [ -d /etc/pki ]; then
+ # We check /etc/pki/tls because on ubuntu /etc/pki/fwupd sometimes
+ # exists but not /etc/pki/tls and we do not want to bind mount in such a case
69
+ # as it would find no certificates at all.
70
+ if [ -d /etc/pki/tls ]; then
71
PKI_HOST_MOUNT_ARGS="-v /etc/pki:/etc/pki:ro"
72
elif [ -d /etc/ssl ]; then
73
PKI_HOST_MOUNT_ARGS="-v /etc/ssl:/etc/ssl:ro"
0 commit comments