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 73DFC158020 for ; Wed, 26 Oct 2022 11:32:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EB2BE092B; Wed, 26 Oct 2022 11:31:46 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40028E0928 for ; Wed, 26 Oct 2022 11:31:46 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 1/4] kernel-build.eclass: Revert "Respect KV_FULL" Date: Wed, 26 Oct 2022 13:31:37 +0200 Message-Id: <20221026113140.3213-2-mgorny@gentoo.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221026113140.3213-1-mgorny@gentoo.org> References: <20221026113140.3213-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 61786405-e04f-4d60-8bde-828998202860 X-Archives-Hash: c195ad874b3bd2e649f3bb03b7682908 Reverts: 27eaf5e24de59baadb8f6042085af172cd56de5d Signed-off-by: Michał Górny --- eclass/kernel-build.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index a77a24534c11..7cada85e79fe 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -150,7 +150,7 @@ kernel-build_src_test() { emake O="${WORKDIR}"/build "${MAKEARGS[@]}" \ INSTALL_MOD_PATH="${T}" "${targets[@]}" - local ver="${KV_FULL}${KV_LOCALVERSION}" + local ver="${PV}${KV_LOCALVERSION}" kernel-install_test "${ver}" \ "${WORKDIR}/build/$(dist-kernel_get_image_path)" \ "${T}/lib/modules/${ver}" @@ -159,7 +159,7 @@ kernel-build_src_test() { # @FUNCTION: kernel-build_src_install # @DESCRIPTION: # Install the built kernel along with subset of sources -# into /usr/src/linux-${KV_FULL}. Install the modules. Save the config. +# into /usr/src/linux-${PV}. Install the modules. Save the config. kernel-build_src_install() { debug-print-function ${FUNCNAME} "${@}" @@ -177,7 +177,7 @@ kernel-build_src_install() { # note: we're using mv rather than doins to save space and time # install main and arch-specific headers first, and scripts local kern_arch=$(tc-arch-kernel) - local ver="${KV_FULL}${KV_LOCALVERSION}" + local ver="${PV}${KV_LOCALVERSION}" dodir "/usr/src/linux-${ver}/arch/${kern_arch}" mv include scripts "${ED}/usr/src/linux-${ver}/" || die mv "arch/${kern_arch}/include" \ -- 2.38.1