diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-28 20:40:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-01 21:26:39 +0100 |
commit | cedd1862be7e666be87ec824dabc6a2b05618f36 (patch) | |
tree | 17eb61b45065227c46ef7500b57043bf35f8a7ee /drivers/platform | |
parent | Merge tag 'ceph-for-5.11-rc2' of git://github.com/ceph/ceph-client (diff) | |
download | linux-cedd1862be7e666be87ec824dabc6a2b05618f36.tar.xz linux-cedd1862be7e666be87ec824dabc6a2b05618f36.zip |
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>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions