mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
Merge pull request #663 from flammit/fix-gpg-tty
init: fix invalid GPG_TTY variable
This commit is contained in:
commit
ceda2d3e3f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user