From 47fd9d54a2982817a535c29b8dfd9384580501d5 Mon Sep 17 00:00:00 2001 From: Gabriel de Perthuis Date: Fri, 1 May 2020 16:36:39 +0200 Subject: [PATCH] initramfs: Copy a certificate bundle so curl can do https The path is the one used on Debian and Ubuntu, which should match where initramfs-tools is used. --- src/initramfs-tools/hooks/clevis.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/initramfs-tools/hooks/clevis.in b/src/initramfs-tools/hooks/clevis.in index d6ff9ec9..a53012d4 100755 --- a/src/initramfs-tools/hooks/clevis.in +++ b/src/initramfs-tools/hooks/clevis.in @@ -88,3 +88,4 @@ bash_bin=$(find_binary "bash") copy_exec "${curl_bin}" || die 2 "Unable to copy ${curl_bin} to initrd image" copy_exec "${awk_bin}" || die 2 "Unable to copy ${awk_bin} to initrd image" copy_exec "${bash_bin}" || die 2 "Unable to copy ${bash_bin} to initrd image" +copy_file data @sysconfdir@/ssl/certs/ca-certificates.crt || die 2 "Unable to copy certificate bundle to initrd image"