Make-initrd development discussion
 help / color / mirror / Atom feed
* [make-initrd] guess/loaded-modules
@ 2025-04-17 17:45 Anton Midyukov
  2025-04-18  9:37 ` Alexey Gladkov
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Midyukov @ 2025-04-17 17:45 UTC (permalink / raw)
  To: make-initrd

Доброго времени суток

Обнаружил проблему с 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.

-- 
best regards, Anton Midyukov <antohami@altlinux.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [make-initrd] guess/loaded-modules
  2025-04-17 17:45 [make-initrd] guess/loaded-modules Anton Midyukov
@ 2025-04-18  9:37 ` Alexey Gladkov
  2025-04-18 15:59   ` Anton Midyukov
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Gladkov @ 2025-04-18  9:37 UTC (permalink / raw)
  To: make-initrd

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [make-initrd] guess/loaded-modules
  2025-04-18  9:37 ` Alexey Gladkov
@ 2025-04-18 15:59   ` Anton Midyukov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Midyukov @ 2025-04-18 15:59 UTC (permalink / raw)
  To: make-initrd

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>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-18 15:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-17 17:45 [make-initrd] guess/loaded-modules Anton Midyukov
2025-04-18  9:37 ` Alexey Gladkov
2025-04-18 15:59   ` Anton Midyukov

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