From 99ef444373354ac8b33749e6e44a49ce14e02b14 Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Mon, 2 Aug 2021 09:57:59 -0700 Subject: [PATCH] Working on fixing patches. --- .../gentoo-surface-sources-5.10.52.ebuild | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 d5b9ec5..74c7143 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 @@ -44,6 +44,7 @@ src_prepare() { eapply -p2 "${DISTDIR}/0010-surface-sensors.patch" eapply -p2 "${DISTDIR}/0011-cameras.patch" eapply -p2 "${DISTDIR}/0012-ath10k-firmware-override.patch" + mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" } pkg_setup() { @@ -55,12 +56,6 @@ pkg_setup() { ewarn "" } -src_prepare() { - # kernel-2_src_prepare doesn't apply PATCHES(). - default - mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" - } - pkg_postinst() { kernel-2_pkg_postinst einfo "For more info on this patchset, and how to report problems, see:"