Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46863 - mingetty prompt on the livecd can't interpret \O in issue.
Summary: mingetty prompt on the livecd can't interpret \O in issue.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-05 08:20 UTC by Pieter Van den Abeele (RETIRED)
Modified: 2004-04-26 08:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pieter Van den Abeele (RETIRED) gentoo-dev 2004-04-05 08:20:00 UTC
I'd suggest removing the \O macro from the issue on the livecd-stage1.
Comment 1 Ciaran McCreesh 2004-04-05 08:35:59 UTC
FWIW, \O is b0rked on busybox too
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-04-05 13:26:46 UTC
I am not quite sure that I am understanding this. What is the offending line and line #?
Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-04-05 14:06:39 UTC
See this as a feature request. 

If catalyst builds a livecd, tty2-tty7 display a

This is LiveCD.O (Linux blahblah) 

heading. The /etc/issue file determines the format of that line.
The contents of that file is a template, with various variables indicated by a '\' followed by a char. 
\O should be replaced by the hostname, but the gettty program we use on the livecd does not support the \O variable. It would be nice if you could add a line to livecd-stage1 which replaces the \O with for instance

"Gentoo"

That will  display 

This is LiveCD.Gentoo (Linux blahblah)
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2004-04-26 08:11:30 UTC
ok, fixed in the default runscript:
 # fix /etc/issue for mingetty and friends
 echo "This is \n.gentoo (\s \m \r) \t" > /etc/issue