Testing patches (4).

This commit is contained in:
Ronald Farrer 2021-08-04 08:17:16 -07:00
parent ff4f83b645
commit 27ca62b8dd

View file

@ -15,6 +15,7 @@ detect_arch
KEYWORDS="~amd64" KEYWORDS="~amd64"
HOMEPAGE="https://github.com/linux-surface/linux-surface" HOMEPAGE="https://github.com/linux-surface/linux-surface"
IUSE="experimental" IUSE="experimental"
EXTRAVERSION="-${PN}-*"
DESCRIPTION="Full sources including the Gentoo and Surface patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree." 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} SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0001-surface3-oemb.patch https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0001-surface3-oemb.patch
@ -31,6 +32,7 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
src_prepare() { src_prepare() {
default default
unpack_set_extraversion
#echo "S=$S"; pwd; ls -la ; find -name surface3-wmi.c -ls #echo "S=$S"; pwd; ls -la ; find -name surface3-wmi.c -ls
#eapply "${DISTDIR}/0001-surface3-oemb.patch" #eapply "${DISTDIR}/0001-surface3-oemb.patch"
#eapply "${DISTDIR}/0002-mwifiex.patch" #eapply "${DISTDIR}/0002-mwifiex.patch"
@ -44,8 +46,8 @@ src_prepare() {
#eapply "${DISTDIR}/0010-amd-gpio.patch" #eapply "${DISTDIR}/0010-amd-gpio.patch"
#eapply "${DISTDIR}/0011-amd-s0ix.patch" #eapply "${DISTDIR}/0011-amd-s0ix.patch"
#eapply_user #eapply_user
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface" #mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
S="${WORKDIR}/linux-${KV_FULL}-surface" #S="${WORKDIR}/linux-${KV_FULL}-surface"
} }
pkg_setup() { pkg_setup() {