summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-25 18:01:42 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-29 17:30:58 +0200
commit82690e63bcd7825f44c4e8274b9f291b37c348f7 (patch)
tree06289959fd13ff06a4f3d29f627dbecbf2319cde /eclass
parentdev-util/xfce4-dev-tools: Bump to 4.17.1 (diff)
downloadgentoo-82690e63bcd7825f44c4e8274b9f291b37c348f7.tar.gz
gentoo-82690e63bcd7825f44c4e8274b9f291b37c348f7.tar.bz2
gentoo-82690e63bcd7825f44c4e8274b9f291b37c348f7.zip
kernel-build.eclass: Revert "Respect KV_FULL"
Reverts: 27eaf5e24de59baadb8f6042085af172cd56de5d Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-build.eclass6
1 files 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" \