Skip to content

Commit

Permalink
initramfs: Copy a certificate bundle so curl can do https
Browse files Browse the repository at this point in the history
The path is the one used on Debian and Ubuntu, which should match
where initramfs-tools is used.
  • Loading branch information
g2p committed May 2, 2020
1 parent e9fb467 commit 47fd9d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/initramfs-tools/hooks/clevis.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 47fd9d5

Please sign in to comment.