Continued patch testing (14).

This commit is contained in:
Ronald Farrer 2021-08-02 12:14:23 -07:00
parent 26db0cd02c
commit fbe2bc57f9
2 changed files with 2 additions and 2 deletions

View file

@ -32,11 +32,11 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
S="${WORKDIR}/linux-${KV_FULL}-surface" S="${WORKDIR}/linux-${KV_FULL}-surface"
src_prepare() { src_prepare() {
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
default default
sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile" sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile"
EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \ EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" epatch EPATCH_FORCE="yes" epatch
# mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
} }

View file

@ -31,11 +31,11 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
S="${WORKDIR}/linux-${KV_FULL}-surface" S="${WORKDIR}/linux-${KV_FULL}-surface"
src_prepare() { src_prepare() {
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
default default
sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile" sed "s/EXTRAVERSION = -gentoo/EXTRAVERSION = -gentoo-surface/" -i "${WORKDIR}/linux-${KV_FULL}/Makefile"
EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \ EPATCH_SOURCE="${DISTDIR}" EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" EPATCH_FORCE="yes"
# mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
} }
pkg_setup() { pkg_setup() {