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 7dbf3f2..c78976c 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,26 +30,29 @@ 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() { +src_unpack() { default unpack_set_extraversion - #echo "S=$S"; pwd; ls -la ; find -name surface3-wmi.c -ls - #eapply "${DISTDIR}/0001-surface3-oemb.patch" - #eapply "${DISTDIR}/0002-mwifiex.patch" - #eapply "${DISTDIR}/0003-ath10k.patch" - #eapply "${DISTDIR}/0004-ipts.patch" - #eapply "${DISTDIR}/0005-surface-sam-over-hid.patch" - #eapply "${DISTDIR}/0006-surface-sam.patch" - #eapply "${DISTDIR}/0007-surface-hotplug.patch" - #eapply "${DISTDIR}/0008-surface-typecover.patch" - #eapply "${DISTDIR}/0009-cameras.patch" - #eapply "${DISTDIR}/0010-amd-gpio.patch" - #eapply "${DISTDIR}/0011-amd-s0ix.patch" - #eapply_user mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" S="${WORKDIR}/linux-${KV_FULL}-surface" } +src_prepare() { + #echo "S=$S"; pwd; ls -la ; find -name surface3-wmi.c -ls + eapply "${DISTDIR}/0001-surface3-oemb.patch" + eapply "${DISTDIR}/0002-mwifiex.patch" + eapply "${DISTDIR}/0003-ath10k.patch" + eapply "${DISTDIR}/0004-ipts.patch" + eapply "${DISTDIR}/0005-surface-sam-over-hid.patch" + eapply "${DISTDIR}/0006-surface-sam.patch" + eapply "${DISTDIR}/0007-surface-hotplug.patch" + eapply "${DISTDIR}/0008-surface-typecover.patch" + eapply "${DISTDIR}/0009-cameras.patch" + eapply "${DISTDIR}/0010-amd-gpio.patch" + eapply "${DISTDIR}/0011-amd-s0ix.patch" + eapply_user +} + pkg_setup() { ewarn "" ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."