Make-initrd development discussion
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] [PATCH v6 21/22] bootchain-core: adds ability to bring the daemon to the foreground
Date: Sat, 6 Nov 2021 22:54:13 +0300
Message-ID: <61e8b4ec-b71a-45f2-c115-8a0a27588381@gmail.com> (raw)
In-Reply-To: <20211106182908.csfxqpnvd74mddf6@example.org>


06.11.2021 21:29, Alexey Gladkov пишет:
> On Sat, Nov 06, 2021 at 09:03:49PM +0300, Leonid Krivoshein wrote:
>> 06.11.2021 20:41, Alexey Gladkov пишет:
>>> On Sat, Nov 06, 2021 at 07:52:52PM +0300, Leonid Krivoshein wrote:
>>>> Для апстрима bootchain/altboot проблемы нет. Даже не идеальную
>>>> bootchain-interactive можно заппстримить сейчас "как есть", а потом её
>>>> улучшать, переводить с openvt на screen или tmux.
>>> У меня, кстати, на компе всё в tmux и я умею сессии менеджить.
>> screen и tmux я пробовал запихнуть в initrd, но они там не хотят работать
>> без инициализированной utf8-консоли. С kbd сам видишь, какая свистопляска
>> сейчас. Главное "безобразие", которое нужно забороть -- инициализация
>> консолей разными фичами, блокировка консолей и нормальная работа с plymouth,
>> а то если инициализация консолей начинается до plymouth, всё портится при
>> загрузке DRM-модулей в некоторых конфигурациях.
> Когда загружаются drm, то kbd переинициализирует терминалы.
>
> Я не вижу смысла использовать kbd в случае bootchain. Эта фича всё-таки
> немного не для этого. Настроить unicode для запуска tmux можно и
> самостоятельно.

Если мы вдруг захотим прикрутить сюда локализацию диалогов или сделать 
на базе bootchain простой текстовый инсталлятор, то с фича kbd уже 
реализует необходимый функционал.

В случае tmux у меня всё же остаётся вопрос о том, как правильно 
инициализировать консоль в фичах, так как сейчас всё очень сильно 
зависит от набора фич, попадающих в initrd.


>> С tmux или screen для диалогов можно было бы реализовать более простой
>> вариант с открепляемыми терминалами (PTY). Тогда всем хватило бы
>> /dev/console.
> Я и хочу использовать /dev/console. Мне не очень нравится идея
> использовать другие терминалы.

-- 
Best regards,
Leonid Krivoshein.



  parent reply	other threads:[~2021-11-06 19:54 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 19:16 ` Alexey Gladkov
2021-10-26 20:29   ` Leonid Krivoshein
2021-11-06 13:22     ` Alexey Gladkov
2021-11-06 14:57       ` Leonid Krivoshein
2021-11-06 15:05         ` Антон Мидюков
2021-11-06 15:25           ` Alexey Gladkov
2021-11-06 15:26             ` Антон Мидюков
2021-11-06 15:33               ` Alexey Gladkov
2021-11-06 15:47                 ` Leonid Krivoshein
2021-11-06 15:54                   ` Антон Мидюков
2021-11-06 16:19                     ` Leonid Krivoshein
2021-11-06 15:57                   ` Alexey Gladkov
2021-11-06 16:06                     ` Антон Мидюков
2021-11-06 16:25                       ` Leonid Krivoshein
2021-11-06 17:30                       ` Leonid Krivoshein
2021-11-06 18:16                         ` Leonid Krivoshein
2021-11-06 17:32                       ` Alexey Gladkov
2021-11-06 15:22         ` Alexey Gladkov
2021-11-06 16:52           ` Leonid Krivoshein
2021-11-06 17:41             ` Alexey Gladkov
2021-11-06 18:03               ` Leonid Krivoshein
2021-11-06 18:29                 ` Alexey Gladkov
2021-11-06 19:32                   ` Leonid Krivoshein
2021-11-06 19:54                   ` Leonid Krivoshein [this message]
2021-11-08 13:09                     ` Alexey Gladkov
2021-11-08 16:08                       ` Leonid Krivoshein
2021-11-09 12:17                         ` Alexey Gladkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61e8b4ec-b71a-45f2-c115-8a0a27588381@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=make-initrd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Make-initrd development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
		make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
	public-inbox-index make-initrd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.make-initrd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git