mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +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:
parent
2c1ddabf32
commit
709ace4c92
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user