diff options
author | Ben Kohler <bkohler@gentoo.org> | 2024-05-06 16:42:16 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2024-05-06 16:42:16 -0500 |
commit | 79a6f985a78beef96c35ed59e5637be384cfc4e8 (patch) | |
tree | 35ad356a90c4bafc2f742d790fa99edfa959bf4b | |
parent | gkbuilds/busybox: add gkexec wrapper to bbmake compilation (diff) | |
download | genkernel-79a6f985a78beef96c35ed59e5637be384cfc4e8.tar.gz genkernel-79a6f985a78beef96c35ed59e5637be384cfc4e8.tar.bz2 genkernel-79a6f985a78beef96c35ed59e5637be384cfc4e8.zip |
gen_configkernel.sh: use PATH to find depmod
Bug: https://bugs.gentoo.org/931324
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rwxr-xr-x | gen_configkernel.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh index 17f9eafb..0158e463 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -442,14 +442,14 @@ config_kernel() { local cfg_CONFIG_MODULE_COMPRESS_XZ=$(kconfig_get_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_MODULE_COMPRESS_XZ") if isTrue "${cfg_CONFIG_MODULE_COMPRESS_GZIP}" then - depmod_GZIP=$(/sbin/depmod -V | tr ' ' '\n' | awk '/ZLIB/{print $1; exit}') + depmod_GZIP=$(depmod -V | tr ' ' '\n' | awk '/ZLIB/{print $1; exit}') if [[ "${depmod_GZIP}" != "+ZLIB" ]] then gen_die 'depmod does not support ZLIB/GZIP, cannot build with CONFIG_MODULE_COMPRESS_GZIP' fi elif isTrue "${cfg_CONFIG_MODULE_COMPRESS_XZ}" then - depmod_XZ=$(/sbin/depmod -V | tr ' ' '\n' | awk '/XZ/{print $1; exit}') + depmod_XZ=$(depmod -V | tr ' ' '\n' | awk '/XZ/{print $1; exit}') if [[ "${depmod_XZ}" != "+XZ" ]] then gen_die 'depmod does not support XZ, cannot build with CONFIG_MODULE_COMPRESS_XZ' |