gentoo-surface-sources-5.13.7.ebuild

This commit is contained in:
Ronald Farrer 2021-08-02 10:56:18 -07:00
parent b40094a8ea
commit 48c85fc57c

View file

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