From 2abd9c2742e035667b4cfebf1be50be4d83595fd Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Tue, 4 Jan 2011 23:20:19 +0100 Subject: [PATCH] Add compatibility with older cmdline setup on console argument Older systems featured full path to tty inside console=. This is no longer valid and causes issues with fbcondecor. The new expected format of console= is tty name with the directory part stripped off: console=tty1 for example. This patch has been in sabayon's genkernel for <2 years, but should be tested out on non-standard environments. --- defaults/linuxrc | 1 + 1 file changed, 1 insertion(+) diff --git a/defaults/linuxrc b/defaults/linuxrc index 9e40b31..0083fce 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -135,6 +135,7 @@ do # Redirect output to a specific tty CONSOLE\=*|console\=*) CONSOLE=`parse_opt "${x}"` + CONSOLE=`basename ${CONSOLE}` # exec >${CONSOLE} <${CONSOLE} 2>&1 ;; # /dev/md