VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2020-12-28 11:40:22 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-01-01 12:26:39 -0800 commit: cedd1862be7e666be87ec824dabc6a2b05618f36 parent: f6e1ea19649216156576aeafa784e3b4cee45549
Commit Summary:
depmod: handle the case of /sbin/depmod without /sbin in PATH
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/scripts/depmod.sh b/scripts/depmod.sh
index e083bcae343f..3643b4f896ed 100755
--- a/scripts/depmod.sh
+++ b/scripts/depmod.sh
@@ -15,6 +15,8 @@ if ! test -r System.map ; then
 	exit 0
 fi
 
+# legacy behavior: "depmod" in /sbin, no /sbin in PATH
+PATH="$PATH:/sbin"
 if [ -z $(command -v $DEPMOD) ]; then
 	echo "Warning: 'make modules_install' requires $DEPMOD. Please install it." >&2
 	echo "This is probably in the kmod package." >&2