From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3101F158064 for ; Mon, 6 May 2024 21:43:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38BE7E2A7D; Mon, 6 May 2024 21:43:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14A14E2A7D for ; Mon, 6 May 2024 21:43:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1020034308A for ; Mon, 6 May 2024 21:43:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FC441664 for ; Mon, 6 May 2024 21:43:20 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1715031736.79a6f985a78beef96c35ed59e5637be384cfc4e8.bkohler@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_configkernel.sh X-VCS-Directories: / X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 79a6f985a78beef96c35ed59e5637be384cfc4e8 X-VCS-Branch: master Date: Mon, 6 May 2024 21:43:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8191b392-8533-441d-870f-a3fbc717ada0 X-Archives-Hash: 733011bbead27428d387b1496171c345 commit: 79a6f985a78beef96c35ed59e5637be384cfc4e8 Author: Ben Kohler gentoo org> AuthorDate: Mon May 6 21:42:16 2024 +0000 Commit: Ben Kohler gentoo org> CommitDate: Mon May 6 21:42:16 2024 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=79a6f985 gen_configkernel.sh: use PATH to find depmod Bug: https://bugs.gentoo.org/931324 Signed-off-by: Ben Kohler gentoo.org> gen_configkernel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen_configkernel.sh b/gen_configkernel.sh index 17f9eaf..0158e46 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'