ALT Linux Bugzilla
– Attachment 9818 Details for
Bug 41097
bootchain: если загрузка не удалась, невозможно добраться до лога загрузки
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Пример возможности поддержки /dev/ttyprintk
printk1.patch (text/plain), 731 bytes, created by
Leonid Krivoshein
on 2021-10-13 16:11:41 MSK
(
hide
)
Description:
Пример возможности поддержки /dev/ttyprintk
Filename:
MIME Type:
Creator:
Leonid Krivoshein
Created:
2021-10-13 16:11:41 MSK
Size:
731 bytes
patch
obsolete
>commit 604991167c0c9f02bb5c2976889786dd76b7d529 >Author: Leonid Krivoshein <klark@altlinux.org> >Date: Wed Oct 13 03:39:45 2021 +0300 > > bootchain-core: adds support for the early console > >diff --git a/bootchain-core/data/sbin/bootchained b/bootchain-core/data/sbin/bootchained >index 311d1fe..9aa9947 100755 >--- a/bootchain-core/data/sbin/bootchained >+++ b/bootchain-core/data/sbin/bootchained >@@ -35,6 +35,10 @@ if [ "x${1-}" != "x--foreground" ]; then > > if [ "${RDLOG-}" = console ]; then > BC_LOGFILE=/dev/console >+ elif [ "${RDLOG-}" = printk ]; then >+ BC_LOGFILE=/dev/ttyprintk >+ [ -e "$BC_LOGFILE" ] || >+ mknod "$BC_LOGFILE" c 5 3 > elif [ -z "${NOTTYS-}" ] && > [ -n "$BC_LOG_VT" ] && > [ ! -c "$BC_LOGFILE" ] &&
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 41097
: 9818