From 5a941606d13e22921b8b5bc6640bce7ccd3d4423 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Dec 2016 13:16:40 +0000 Subject: allow minor kernel releases to coexist (e.g. 4.8.10 alongside 4.8.15) --- eclass/redcore-kernel.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/redcore-kernel.eclass b/eclass/redcore-kernel.eclass index 389dac06..cb855639 100644 --- a/eclass/redcore-kernel.eclass +++ b/eclass/redcore-kernel.eclass @@ -251,7 +251,7 @@ if [ -n "${K_FIRMWARE_PACKAGE}" ]; then elif [ "${K_KERNEL_SLOT_USEPVR}" = "1" ]; then SLOT="${PVR}" elif [ "${K_KERNEL_NEW_VERSIONING}" = "1" ]; then - SLOT="$(get_version_component_range 1-2)" + SLOT="$(get_version_component_range 1-3)" else SLOT="${PV}" fi -- cgit v1.2.3