mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-30 06:48:23 +00:00
Fix CA bundle in install
Once transitioning to install, the CA bundle was lost, because the symlink lead out of sysroot. Fix by prepending sysroot if symlink
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
#!/bin/bash
|
||||
cat /etc/pki/tls/certs/ca-bundle.crt > /sysroot/etc/pki/tls/certs/ca-bundle.crt
|
||||
BUNDLENAME=/sysroot/etc/pki/tls/certs/ca-bundle.crt
|
||||
while [ -h $BUNDLENAME ]; do
|
||||
BUNDLENAME=/sysroot/$(readlink $BUNDLENAME)
|
||||
done
|
||||
|
||||
cat /etc/pki/tls/certs/ca-bundle.crt > $BUNDLENAME
|
||||
|
Reference in New Issue
Block a user