Skip to content

Commit

Permalink
linux: module: depmod -a even without sysmap
Browse files Browse the repository at this point in the history
This is required for correct module system functioning

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
  • Loading branch information
nabijaczleweli committed Apr 4, 2022
1 parent b03929b commit 62109f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ modules_install-Linux: modules_uninstall-Linux-legacy
sysmap=$(INSTALL_MOD_PATH)/usr/lib/debug/boot/System.map-@LINUX_VERSION@; \
if [ -f $$sysmap ]; then \
depmod -ae -F $$sysmap @LINUX_VERSION@; \
else
depmod -a @LINUX_VERSION@; \
fi

modules_install-FreeBSD:
Expand Down

0 comments on commit 62109f8

Please sign in to comment.