From fb3e2066b8ee33b29c3fbc387a1b707956c646f3 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Wed, 14 Nov 2018 19:45:44 -0500 Subject: [PATCH] GPG_TTY is forced to /dev/console under init. Ash console is never called; trying to get console tty from the tty returns "no console". NEEDs BETTER FIX. --- initrd/init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/initrd/init b/initrd/init index d489f6ae..305d05af 100755 --- a/initrd/init +++ b/initrd/init @@ -5,6 +5,9 @@ echo "hello world" > /dev/ttyprintk # Setup our path export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin +#export GPG_TTY STATICALLY (NEED TO FIX) +export GPG_TTY=/dev/console + # This is the very first script invoked by the Linux kernel and is # running out of the ram disk. There are no fileysstems mounted. # It is important to have a way to invoke a recovery shell in case