e2k: add softdep workaround for mga25.ko

The problem is with indirect module initialization dependencies
(the infamous "Driver probe function unexpectedly returned 256"
error when loading the module from initrd and not full rootfs);
let's provide modprobe with a hint.

Suggested-by: Vitaly Chikunov <vt@altlinux.org>
See-also: mcst#8089
See-also: mcst#8392
This commit is contained in:
Michael Shigorin 2023-10-24 13:43:02 +03:00 committed by Anton Midyukov
parent 3fc55d528f
commit 631b25cbee

View File

@ -16,6 +16,9 @@ use/e2k: use/tty/S0 use/l10n/default/ru_RU
ifeq (,$(filter-out e2kv4 e2kv5,$(ARCH)))
@# 8C/8CB specific
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-sensors-stage2)
endif
ifeq (,$(filter-out e2kv6,$(ARCH)))
@$(call add,SYSTEM_PACKAGES,softdep-mga25) # mcst#8089
endif
@$(call add,BASE_PACKAGES,mirror-e2k-alt)
@$(call add,THE_PACKAGES,fruid_print)