mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
linux-mod-r1.eclass: Call module cleanup in postinst
Closes: https://github.com/gentoo/gentoo/pull/34513 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -109,7 +109,7 @@ esac
|
||||
if [[ ! ${_LINUX_MOD_R1_ECLASS} ]]; then
|
||||
_LINUX_MOD_R1_ECLASS=1
|
||||
|
||||
inherit edo linux-info multiprocessing toolchain-funcs
|
||||
inherit dist-kernel-utils edo linux-info multiprocessing toolchain-funcs
|
||||
|
||||
IUSE="dist-kernel modules-compress modules-sign +strip ${MODULES_OPTIONAL_IUSE}"
|
||||
|
||||
@@ -468,6 +468,7 @@ linux-mod-r1_pkg_postinst() {
|
||||
debug-print-function ${FUNCNAME[0]} "${@}"
|
||||
_modules_check_function ${#} 0 0 || return 0
|
||||
|
||||
dist-kernel_compressed_module_cleanup "${EROOT}/lib/modules/${KV_FULL}"
|
||||
_modules_update_depmod
|
||||
|
||||
# post_process ensures modules were installed and that the eclass' USE
|
||||
|
||||
Reference in New Issue
Block a user