Changed patches.
This commit is contained in:
parent
a068ff0c40
commit
fd427163bc
1 changed files with 8 additions and 5 deletions
|
@ -30,7 +30,9 @@ SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}
|
||||||
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/0011-cameras.patch
|
||||||
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.10/0012-ath10k-firmware-override.patch "
|
https://raw.githubusercontent.com/linux-surface/linux-surface/master/patches/5.10/0012-ath10k-firmware-override.patch "
|
||||||
|
|
||||||
S="${WORKDIR}/linux-${KV_FULL}"
|
src_unpack() {
|
||||||
|
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
|
||||||
|
}
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}/Makefile.patch"
|
"${FILESDIR}/Makefile.patch"
|
||||||
|
@ -48,10 +50,6 @@ PATCHES=(
|
||||||
"${DISTDIR}/0012-ath10k-firmware-override.patch"
|
"${DISTDIR}/0012-ath10k-firmware-override.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_preinst () {
|
|
||||||
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
ewarn ""
|
ewarn ""
|
||||||
ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
|
ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
|
||||||
|
@ -61,6 +59,11 @@ pkg_setup() {
|
||||||
ewarn ""
|
ewarn ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# kernel-2_src_prepare doesn't apply PATCHES().
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
kernel-2_pkg_postinst
|
kernel-2_pkg_postinst
|
||||||
einfo "For more info on this patchset, and how to report problems, see:"
|
einfo "For more info on this patchset, and how to report problems, see:"
|
||||||
|
|
Loading…
Add table
Reference in a new issue