From 6c3ac9b8f9b2175eccea90bce859d5bbebc5f5ae Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Mon, 2 Aug 2021 14:08:54 -0700 Subject: [PATCH] Continued patch testing (27). --- .../gentoo-surface-sources-5.13.7.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild index 4b74c96..4400e37 100644 --- a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild +++ b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild @@ -15,6 +15,7 @@ detect_arch KEYWORDS="~amd64" HOMEPAGE="https://github.com/linux-surface/linux-surface" IUSE="experimental" +EXTEAVERSION="-${PN}-*" DESCRIPTION="Full sources including the Gentoo and Surface patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree." SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0001-surface3-oemb.patch @@ -29,7 +30,9 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0010-amd-gpio.patch https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0011-amd-s0ix.patch" + src_prepare() { + unpack_set_extraversion mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" S="${WORKDIR}/linux-${KV_FULL}-surface" sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile"