]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
url-lib: ca-bundle.crt changed to a symlink
authorHarald Hoyer <harald@redhat.com>
Wed, 17 Aug 2016 14:41:21 +0000 (16:41 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 19 Aug 2016 13:49:33 +0000 (15:49 +0200)
use inst() instead of inst_simple()

/etc/pki/tls/certs/ca-bundle.crt is a symlink to
../../ca-trust/extracted/pem/tls-ca-bundle.pem

with inst() we install the original file also.

https://bugzilla.redhat.com/show_bug.cgi?id=1341280
(cherry picked from commit 1b23c6c65c39630cb62faa2503817759f83d880b)

modules.d/45url-lib/module-setup.sh

index c87f71862f32e8ff8412a4b550f5f7b7c3245231..1ece400f629dc98d57fb70b5776e97bae4dd09d7 100755 (executable)
@@ -32,7 +32,7 @@ install() {
             _crt=$(grep -F --binary-files=text -z .crt $_lib)
             [[ $_crt ]] || continue
             [[ $_crt == /*/* ]] || continue
-            if ! inst_simple "$_crt"; then
+            if ! inst "$_crt"; then
                 dwarn "Couldn't install '$_crt' SSL CA cert bundle; HTTPS might not work."
                 continue
             fi