Continued patch testing (13).

This commit is contained in:
Ronald Farrer 2021-08-02 12:13:02 -07:00
parent a4ea10527c
commit 26db0cd02c
2 changed files with 4 additions and 5 deletions

View file

@ -29,16 +29,16 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.10/0010-surface-sensors.patch
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.10/0011-cameras.patch
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.10/0012-ath10k-firmware-override.patch "
S="${WORKDIR}/linux-${KV_FULL}-surface"
src_prepare() {
default
sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile"
EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" epatch
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"
pkg_setup() {
ewarn ""

View file

@ -28,17 +28,16 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
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/0011-amd-s0ix.patch"
S="${WORKDIR}/linux-${KV_FULL}-surface"
src_prepare() {
default
sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile"
EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes"
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"
pkg_setup() {
ewarn ""
ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."