Working on fixing patches.

This commit is contained in:
Ronald Farrer 2021-08-02 09:57:59 -07:00
parent 4f869a2f98
commit 99ef444373

View file

@ -44,6 +44,7 @@ src_prepare() {
eapply -p2 "${DISTDIR}/0010-surface-sensors.patch" eapply -p2 "${DISTDIR}/0010-surface-sensors.patch"
eapply -p2 "${DISTDIR}/0011-cameras.patch" eapply -p2 "${DISTDIR}/0011-cameras.patch"
eapply -p2 "${DISTDIR}/0012-ath10k-firmware-override.patch" eapply -p2 "${DISTDIR}/0012-ath10k-firmware-override.patch"
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
} }
pkg_setup() { pkg_setup() {
@ -55,12 +56,6 @@ pkg_setup() {
ewarn "" ewarn ""
} }
src_prepare() {
# kernel-2_src_prepare doesn't apply PATCHES().
default
mv "${WORKDIR}/linux-${KV_FULL}" "${WORKDIR}/linux-${KV_FULL}-surface"
}
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:"