From: Anton Midyukov <antohami@altlinux.org>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] guess/loaded-modules
Date: Fri, 18 Apr 2025 18:59:02 +0300
Message-ID: <28d93799-0937-42fc-835f-444742e18605@altlinux.org> (raw)
In-Reply-To: <aAIdXRryMdnYaMDM@example.org>
18.04.2025 12:37, Alexey Gladkov пишет:
> 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
>
Проверил. Проблема исправлена.
--
best regards, Anton Midyukov <antohami@altlinux.org>
prev parent reply other threads:[~2025-04-18 15:59 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
2025-04-18 15:59 ` Anton Midyukov [this message]
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=28d93799-0937-42fc-835f-444742e18605@altlinux.org \
--to=antohami@altlinux.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