Skip to content

Commit

Permalink
gen_initramfs.sh: If available, use /usr/bin/gpg-agent from system #44
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed May 25, 2016
1 parent 25c211b commit bda99a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen_initramfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ append_gpg() {

print_info 1 "Including GPG support"
copy_binaries "${TEMP}/initramfs-gpg-temp" /usr/bin/gpg
[[ -e "/usr/bin/gpg-agent" ]] \
&& copy_binaries "${TEMP}/initramfs-gpg-temp" /usr/bin/gpg-agent

cd "${TEMP}/initramfs-gpg-temp/"
log_future_cpio_content
Expand Down

0 comments on commit bda99a4

Please sign in to comment.