Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120031 - Garbage printed to console during boot--suspend2 activation
Summary: Garbage printed to console during boot--suspend2 activation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-01-23 02:46 UTC by Jan Minar
Modified: 2006-01-25 15:13 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 Jan Minar 2006-01-23 02:46:15 UTC
During the bootstrap, this is printed to the console:

        \033[32;1m>>\033[1m Activating suspend2 resume...

 -- not pretty.  The problem is a missing `-e' parameter to echo in the /linuxrc script.  The patch follows.   But IIRC, this section is commented in the distribution version of the script, so the patch won't apply as-is (but it's trivial anyway.

--- /usr/share/genkernel/generic/linuxrc        2006-01-20 18:35:07.000000000 +0000
+++ -   2006-01-23 10:25:12.135204000 +0000
@@ -28,7 +28,7 @@
 # activate suspend2
 if [ -w /proc/suspend2/do_resume ]
 then
-      echo "${GOOD}>>${NORMAL}${BOLD} Activating suspend2 resume..."
+      echo -e "${GOOD}>>${NORMAL}${BOLD} Activating suspend2 resume..."
       echo > /proc/suspend2/do_resume
 fi
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-23 06:20:47 UTC
I've added the change into CVS, so it'll appear in the next genkernel version.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-25 15:13:03 UTC
This is in genkernel 3.3.11_pre5 which is now in the tree.