diff options
author | Simon Rettberg | 2022-10-12 16:47:37 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-10-12 16:47:37 +0200 |
commit | d094169991ae623ca78af1af63da0e52b1724728 (patch) | |
tree | d98ea56a50fca0c42cbdc8d19025a3b38b411e8f /core/modules/nvidia-common/module.build | |
parent | [rootfs-stage32] Add mountpoint polyfill for minilinux (diff) | |
download | mltk-d094169991ae623ca78af1af63da0e52b1724728.tar.gz mltk-d094169991ae623ca78af1af63da0e52b1724728.tar.xz mltk-d094169991ae623ca78af1af63da0e52b1724728.zip |
[nvidia-common] Remove fake lsmod to restore its functionality
Diffstat (limited to 'core/modules/nvidia-common/module.build')
-rw-r--r-- | core/modules/nvidia-common/module.build | 1 |
1 files changed, 1 insertions, 0 deletions
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..." |