Home
last modified time | relevance | path

Searched hist:cedd1862 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/scripts/
H A Ddepmod.shcedd1862 Mon Dec 28 13:40:22 CST 2020 Linus Torvalds <torvalds@linux-foundation.org> depmod: handle the case of /sbin/depmod without /sbin in PATH

Commit 436e980e2ed5 ("kbuild: don't hardcode depmod path") stopped
hard-coding the path of depmod, but in the process caused trouble for
distributions that had that /sbin location, but didn't have it in the
PATH (generally because /sbin is limited to the super-user path).

Work around it for now by just adding /sbin to the end of PATH in the
depmod.sh script.

Reported-and-tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>