Merge pull request #663 from flammit/fix-gpg-tty

init: fix invalid GPG_TTY variable
This commit is contained in:
tlaurion 2020-01-27 20:08:10 -05:00 committed by GitHub
commit ceda2d3e3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ if [ "$CONFIG_LINUXBOOT" = "y" ]; then
fi
# Set GPG_TTY before calling gpg in key-init
export GPG_TTY=$(tty)
export GPG_TTY=/dev/console
/bin/key-init