From: Alexey Gladkov <legion@kernel.org>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] guess/loaded-modules
Date: Fri, 18 Apr 2025 11:37:33 +0200
Message-ID: <aAIdXRryMdnYaMDM@example.org> (raw)
In-Reply-To: <e6a4c4ba-a759-4121-9255-b2a4a53b4b3a@altlinux.org>
On Thu, Apr 17, 2025 at 08:45:57PM +0300, Anton Midyukov wrote:
> Доброго времени суток
>
> Обнаружил проблему с guess/loaded-modules.
> Если есть встроенный модуль ядра у текущего (вероятно, и просто загруженный), а
> у ядра, для которого делаем make-initrd этого модуля нет, получаем ошибку, например такую:
>
> put-tree: Copying '/tmp/.private/root/make-initrd.eWxSTuXYp/modules' recursively ...
> [00:00:15] Putting modules ...
> depinfo: ERROR: Module clk-bm1000 not found.
> depinfo: ERROR: Module clk-bs1000 not found.
> make[2]: *** [/usr/share/make-initrd/features/add-modules/rules.mk:6: put-modules] Error 1
> make[1]: *** [/usr/share/make-initrd/mk/main.mk:67: process-config] Error 2
> make: *** [/usr/share/make-initrd/mk/main.mk:56: all] Error 1
>
> Хотелось бы иметь поведение для таких модулей, как если бы они добавлялись через переменную MODULES_TRY_ADD.
Попробуй исправление из бранча for-master.
$ git log --no-decorate --oneline HEAD@{2}..
be49a666 guess/loaded-modules: Consider modules as optional
edbe3a79 guess: Add the ability to add optional modules
--
Rgrds, legion
next prev parent reply other threads:[~2025-04-18 9:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-17 17:45 Anton Midyukov
2025-04-18 9:37 ` Alexey Gladkov [this message]
2025-04-18 15:59 ` Anton Midyukov
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=aAIdXRryMdnYaMDM@example.org \
--to=legion@kernel.org \
--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