kernel, stage2: Fix network boot for yt6801 cards #24
Loading…
Reference in a new issue
No description provided.
Delete branch "iv/mkimage-profiles:yt6801-again"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the latest update (1.0.31), kernel-modules-yt6801-*
moved the module from drivers/net/ethernet to updates/.
This broke network boot for yt6801 cards, as the module
didn't match any pattern in stage2-net modlist anymore,
and thus was not added into the initrd image.
To address this issue, the responsibility of adding
the module to initrd is moved from use/kenrel/net to
a separate target in stage2 feature, which now comes
with its own modlist. This target is used for regular
images on loongarch64, as yt6801 network cards are
arguably not that widespread on other architectures.
Так а зачем он был перенесён в updates?
Так решил мейнтейнер модуля. Подумал что это правильно, с учётом того, что в 7.0
yt6801.koесть в mainline, но кажется пока менее фичастый. А о том, что путь имеет значение для кого-то кроме depmod и modprobe он не подумал.@iv wrote in #24 (comment):
Очевидно, что для более старых ядер модуль не должен быть в updates. А начиная с 7.0 его просто не нужно собирать.
Считаю это багой, которую нужно исправить в пакете, а не в профиле сборки.
Отклонено.
Pull request closed