Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#23622 - [mkinitcpio] <=0.6.9-1: making silent
Attached to Project:
Arch Linux
Opened by Максим (MaximOmsk) - Thursday, 07 April 2011, 05:19 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 01 May 2011, 11:12 GMT
Opened by Максим (MaximOmsk) - Thursday, 07 April 2011, 05:19 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 01 May 2011, 11:12 GMT
|
DetailsDescription:
The function "msg" in "/lib/initcpio/init_functions" checks "quiet" variable: msg () { [ "${quiet}" != "y" ] && echo $@ } And if it = "y", then no message is printed. This variable can be passed through kernel parameters in bootloader. But it would be exported only in the middle of "/lib/initcpio/init" file in cycle: for cmd in ${CMDLINE}; do ... Only after several calls to function "msg" in the beginning of "/lib/initcpio/init" like: msg ":: Loading Initramfs" msg ":: Starting udevd..." msg "done." So there is no way to make this functions silent besides commenting them out in the script. It's not a good solution, cause it will be lost after next upgrade of mkinitcpio... It think it will be smarter to export kernel parameters earlier in "/lib/initcpio/init" script. Additional info: * package version mkinitcpio <=0.6.9-1 * config and/or log files etc. Steps to reproduce: Just look at initrd ouput. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Sunday, 01 May 2011, 11:12 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio 0.6.10-1
Sunday, 01 May 2011, 11:12 GMT
Reason for closing: Fixed
Additional comments about closing: mkinitcpio 0.6.10-1
Comment by Thomas Bächler (brain0) -
Thursday, 07 April 2011, 16:41 GMT
We could omit the first message (msg ":: Loading Initramfs") and move the cmdline parsing before starting udev. Then the messages :: Starting udevd..." and "done." can be silenced. We cannot parse the command line earlier than that.
Comment by Максим (MaximOmsk) -
Saturday, 09 April 2011, 13:16 GMT
It would be nice, cause there should be an easy way to have completely silent boot... And I think it should be in wiki also.
Comment by Thomas Bächler (brain0) -
Sunday, 10 April 2011, 20:32 GMT
Please confirm that mkinitcpio 0.6.10 fixes the problem.
Comment by Максим (MaximOmsk) -
Monday, 11 April 2011, 06:37 GMT
Yes, I can confirm that it works! No messages with "quiet" parameter added to kernel boot line. Thank you guys! :)