From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Release make-initrd 2.24.0
Date: Mon, 20 Sep 2021 15:39:33 +0200
Message-ID: <20210920133933.4bg5z6x5e4fesgir@example.org> (raw)
In-Reply-To: <eb3c172c-b2b8-0e5f-4f32-c6cfb8472c31@gmail.com>
On Mon, Sep 20, 2021 at 04:18:42PM +0300, Leonid Krivoshein wrote:
>
>
> 20.09.2021 15:49, Alexey Gladkov пишет:
> > On Mon, Sep 20, 2021 at 01:42:02PM +0200, Alexey Gladkov wrote:
> > > New release 2.24.0 is available.
> > >
> > > Important changes
> > > =================
> > >
> > > - New fearure:
> > > + bootconfig adds Extra Boot Config support.
> > > - Utilities:
> > > + initrd-put: Fixed copying of complex symbolic links of symbolic links.
> > > + initrd-ls: Add Extra Boot Config support.
Забыл сказать, что у initrd-ls не только появилось знание о bootconfig, но
и brief режим:
$ initrd-ls -b /tmp/initrd-5.10.62-std-def-alt1.img
1 cpio archive, size 4739292 bytes
2 xz compressed cpio archive, size 14605824 bytes
3 bootconfig, size 12 bytes
спереди ucode, сзади bootconfig (это не cpio). Без специальных средств
initramfs больше не распаковать )))
> > Этот релиз почти полностью посвящён Extra Boot Config [1]. Не так давно в
> > ядре появилась возможность прикреплять к initramfs параметры конфигурации
> > ядра. Параметры из этого конфига будут использованы если при загрузке ядру
> > передать параметр bootconfig.
> >
> > В linux-tools была добавлена утилита bootconfig (уже в сизифе), чтобы
> > управлять приаттаченом конфигом.
> >
> > Поддержка в make-initrd состоит в том, чтобы присоединять конфиг из файла
> > к образу при генерации или же взять конфиг у загруженного ядра.
> >
> > [1] https://www.kernel.org/doc/Documentation/admin-guide/bootconfig.rst
Я знал, что ты заинтересуешься ))
> Очень интересно, так как позволяет не загромождать /proc/cmdline. Но главный
> вопрос: можно ли из userspace повторно менять содержимое /proc/cmdline? Или
> же только на этапе загрузки эти данные читаются из определённого места
> образа initramfs, подобно ucode?
Параметры вычитываются из определённого места образа. А вот перекрываются
ли значения из bootconfig значениями из /proc/cmdline я не знаю.
--
Rgrds, legion
next prev parent reply other threads:[~2021-09-20 13:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-20 11:42 Alexey Gladkov
2021-09-20 11:58 ` Alexey Gladkov
2021-09-20 12:06 ` Антон Мидюков
2021-09-20 12:17 ` Alexey Gladkov
2021-09-20 12:46 ` Антон Мидюков
2021-09-20 12:55 ` Alexey Gladkov
2021-09-20 12:49 ` Alexey Gladkov
2021-09-20 13:18 ` Leonid Krivoshein
2021-09-20 13:39 ` Alexey Gladkov [this message]
2021-09-20 14:45 ` 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=20210920133933.4bg5z6x5e4fesgir@example.org \
--to=gladkov.alexey@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