From: Leonid Krivoshein <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Fwd: [#269003] TESTED make-initrd.git=2.14.1-alt1
Date: Tue, 6 Apr 2021 01:51:30 +0300
Message-ID: <53056ce2-d0bd-dcab-880f-80f2a6b6892a@gmail.com> (raw)
In-Reply-To: <b5a8fcf1-6cde-ff72-ba8b-6a5fcf8becbb@gmail.com>
05.04.2021 23:33, Leonid Krivoshein пишет:
> 2. В интерфейс pipeline не выведена уже реализованная в make-initrd
> возможность работы с /proc/cmdline. Имею ввиду общие параметры, такие
> как lowmem, live или rescue. У каждой фичи -- свои аргументы. Пока не
> удалось побороть эту проблему, мой "config" оказался нерабочим. Может,
> нужно просто инклюдить какой-то файл?
С этим разобрался. Не нужен мой "config", можно просто инклюдить
/.initrd/initenv, хотя переменные в верхнем регистре и так должны быть
доступны через окружение.
...
8. Можно сделать общее описание входа/выхода для всех поддерживаемых
шагов и выполнять необходимые проверки до и после выполнения шага, чтобы
не не делать этого внутри самих шагов. Такое описание будет полезно и
для шага debug. Шаги могут быть транзитными (pass-thru).
...
[уже не про pipeline]
Иногда нужно не делать switch_root "$rootmnt" "$INIT", а нужно просто
запустить скрипт "$INIT" с подмонтированного "$rootmnt", полностью
остановив счётчик таймаута загрузки, и разрешив интерактивное
взаимодействие. При этом make-initrd с запущенными фоновыми процессами
может продолжать работать, а организацию выключения/перезагрузки можно
возложить на запущенный скрипт. Как лучше реализовать аналог
data/etc/rc.d/rc.sysexec?
--
Best regards,
Leonid Krivoshein.
next prev parent reply other threads:[~2021-04-05 22:51 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-05 20:33 ` Leonid Krivoshein
2021-04-05 22:51 ` Leonid Krivoshein [this message]
2021-04-06 8:44 ` Alexey Gladkov
2021-04-06 17:38 ` Leonid Krivoshein
2021-04-07 13:13 ` Alexey Gladkov
2021-04-06 8:28 ` Alexey Gladkov
2021-04-06 16:38 ` Leonid Krivoshein
2021-04-06 19:05 ` Alexey Gladkov
2021-04-06 19:30 ` Alexey Gladkov
2021-04-06 23:13 ` Leonid Krivoshein
2021-04-07 12:28 ` Alexey Gladkov
2021-04-06 23:00 ` Leonid Krivoshein
2021-04-07 12:11 ` Alexey Gladkov
2021-04-06 23:59 ` Leonid Krivoshein
2021-04-07 1:51 ` Leonid Krivoshein
2021-04-07 12:57 ` Alexey Gladkov
2021-04-07 18:29 ` Leonid Krivoshein
2021-05-26 15:05 ` Leonid Krivoshein
2021-05-26 18:12 ` Alexey Gladkov
2021-05-26 19:25 ` Leonid Krivoshein
2021-05-27 8:37 ` Alexey Gladkov
2021-05-27 12:29 ` Leonid Krivoshein
2021-05-27 13:53 ` Alexey Gladkov
2021-05-27 15:10 ` Leonid Krivoshein
2021-05-27 17:04 ` Alexey Gladkov
2021-05-27 17:11 ` Leonid Krivoshein
2021-05-30 20:34 ` Leonid Krivoshein
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=53056ce2-d0bd-dcab-880f-80f2a6b6892a@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