diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-28 11:40:22 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-12 19:47:54 +0100 |
commit | 04f31e3d8bbf37a3a185e3b7bbd216614c5aa5ee (patch) | |
tree | 6a78aa58cda5b4f8ee3473e47850a1ab961a4f90 /drivers/atm | |
parent | b66d7a8bd0dcf809fc1a8cb4da9705b5fd9a15f1 (diff) |
depmod: handle the case of /sbin/depmod without /sbin in PATH
[ Upstream commit cedd1862be7e666be87ec824dabc6a2b05618f36 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions