yet more patch testing (10).
This commit is contained in:
parent
06f0223681
commit
9cdde8571c
1 changed files with 27 additions and 40 deletions
|
@ -1,24 +1,21 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="6"
|
EAPI="7"
|
||||||
ETYPE="sources"
|
ETYPE="sources"
|
||||||
K_SECURITY_UNSUPPORTED="1"
|
|
||||||
K_WANT_GENPATCHES="base extras experimental"
|
K_WANT_GENPATCHES="base extras experimental"
|
||||||
K_GENPATCHES_VER="9"
|
K_GENPATCHES_VER="9"
|
||||||
|
|
||||||
inherit kernel-2
|
inherit kernel-2
|
||||||
inherit eutils
|
|
||||||
detect_version
|
detect_version
|
||||||
detect_arch
|
detect_arch
|
||||||
|
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64 ~x86"
|
||||||
HOMEPAGE="https://github.com/linux-surface/linux-surface"
|
HOMEPAGE="https://github.com/sifive/meta-sifive"
|
||||||
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 patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and surface patches"
|
||||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
|
||||||
FFFFFFFFSRC_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
|
||||||
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0002-mwifiex.patch
|
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0002-mwifiex.patch
|
||||||
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0003-ath10k.patch
|
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0003-ath10k.patch
|
||||||
|
@ -29,41 +26,31 @@ FFFFFFFFSRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
|
||||||
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0008-surface-typecover.patch
|
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0008-surface-typecover.patch
|
||||||
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0009-cameras.patch
|
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0009-cameras.patch
|
||||||
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/0010-amd-gpio.patch
|
||||||
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0011-amd-s0ix.patch"
|
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.13/0011-amd-s0ix.patch
|
||||||
|
"
|
||||||
#src_unpack() {
|
|
||||||
# default
|
|
||||||
# unpack_set_extraversion
|
|
||||||
#}
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
local SURFACE_PATCH
|
||||||
unpack_set_extraversion
|
local SURFACE_PATCHES="
|
||||||
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
|
${DISTDIR}/0001-surface3-oemb.patch
|
||||||
S="${WORKDIR}/linux-${KV_FULL}-surface"
|
${DISTDIR}/0002-mwifiex.patch
|
||||||
|
${DISTDIR}/0003-ath10k.patch
|
||||||
|
${DISTDIR}/0004-ipts.patch
|
||||||
|
${DISTDIR}/0005-surface-sam-over-hid.patch
|
||||||
|
${DISTDIR}/0006-surface-sam.patch
|
||||||
|
${DISTDIR}/0007-surface-hotplug.patch
|
||||||
|
${DISTDIR}/0008-surface-typecover.patch
|
||||||
|
${DISTDIR}/0009-cameras.patch
|
||||||
|
${DISTDIR}/0010-amd-gpio.patch
|
||||||
|
${DISTDIR}/0011-amd-s0ix.patch"
|
||||||
|
|
||||||
#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() {
|
local SURFACE_PATH="${DISTDIR}"
|
||||||
ewarn ""
|
for SURFACE_PATCH in $SURFACE_PATCHES
|
||||||
ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
|
do
|
||||||
ewarn "If you need support, please contact the overlay developers directly."
|
eapply "${SURFACE_PATH}/${SURFACE_PATCH}"
|
||||||
ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
|
done
|
||||||
ewarn "the ebuilds. Thank you."
|
eapply_user
|
||||||
ewarn ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue