diff --git a/sys-kernel/gentoo-surface-sources/files/Makefile.patch b/sys-kernel/gentoo-surface-sources/files/Makefile.patch new file mode 100644 index 0000000..493f0e5 --- /dev/null +++ b/sys-kernel/gentoo-surface-sources/files/Makefile.patch @@ -0,0 +1,12 @@ +--- a/Makefile 2021-08-02 08:44:57.151695339 -0700 ++++ b/Makefile 2021-08-02 09:15:02.030447038 -0700 +@@ -2,7 +2,7 @@ + VERSION = 5 + PATCHLEVEL = 13 + SUBLEVEL = 7 +-EXTRAVERSION = -gentoo ++EXTRAVERSION = -gentoo-surface + NAME = Opossums on Parade + + # *DOCUMENTATION* + 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 ca3cbe0..552c9a7 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 @@ -33,6 +33,7 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} S="${WORKDIR}/linux-${KV_FULL}" PATCHES=( + "${FILESDIR}/Makefile.patch" "${DISTDIR}/0001-surface3-oemb.patch" "${DISTDIR}/0002-wifi.patch" "${DISTDIR}/0003-ipts.patch" @@ -57,6 +58,7 @@ pkg_setup() { } pkg_postinst() { + mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" kernel-2_pkg_postinst einfo "For more info on this patchset, and how to report problems, see:" einfo "${HOMEPAGE}"