From d094169991ae623ca78af1af63da0e52b1724728 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 12 Oct 2022 16:47:37 +0200 Subject: [nvidia-common] Remove fake lsmod to restore its functionality --- core/modules/nvidia-common/module.build | 1 + 1 file changed, 1 insertion(+) (limited to 'core/modules/nvidia-common') diff --git a/core/modules/nvidia-common/module.build b/core/modules/nvidia-common/module.build index ab3dbcd8..2dbb6a36 100644 --- a/core/modules/nvidia-common/module.build +++ b/core/modules/nvidia-common/module.build @@ -58,6 +58,7 @@ build() { exit 0 # Fake it since it will try to load the module and probably fail EOF + rm -f -- "${builddir}/usr/sbin/lsmod" # Don't want this outside the container if grep -qE "$KMOD_ERROR" "${builddir}${KMOD_LOG}"; then pwarning "Could not compile all kernel modules: $( grep -E "$KMOD_ERROR" "${builddir}${KMOD_LOG}" )" perror "Bailing out..." -- cgit v1.2.3-55-g7522