From 598472e16e998d8e290c7fe1eac83ad368f3f40b Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Mon, 2 Aug 2021 12:03:45 -0700 Subject: [PATCH] Continued patch testing (10). --- .../gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild | 1 + .../gentoo-surface-sources/gentoo-surface-sources-5.13.7.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild index 037a7f2..9de4ac2 100644 --- a/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild +++ b/sys-kernel/gentoo-surface-sources/gentoo-surface-sources-5.10.52.ebuild @@ -31,6 +31,7 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.10/0012-ath10k-firmware-override.patch " src_prepare() { + default sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile" EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \ EPATCH_FORCE="yes" epatch 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 bd88cba..2f54c55 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 @@ -30,6 +30,7 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0011-amd-s0ix.patch" src_prepare() { + default sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile" EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \ EPATCH_FORCE="yes"