summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2016-11-28 18:54:55 -0500
committerMike Pagano <mpagano@gentoo.org>2016-11-28 18:54:55 -0500
commit24b3106c5e9427a875d2de19b3b43769fc6216d3 (patch)
tree22120905da6196d4465f7a7fe9c4e1bc0930c831 /eclass/kernel-2.eclass
parentapp-admin/github-backup-utils: version bump - 2.8.2 (diff)
downloadgentoo-24b3106c5e9427a875d2de19b3b43769fc6216d3.tar.gz
gentoo-24b3106c5e9427a875d2de19b3b43769fc6216d3.tar.bz2
gentoo-24b3106c5e9427a875d2de19b3b43769fc6216d3.zip
kernel-2.eclass: Support EAPI 6 when applying user patches.
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index c1719409ad89..3f5fb3b0863d 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1260,8 +1260,12 @@ kernel-2_src_unpack() {
# we run misc `make` functions below
[[ $(type -t kernel-2_hook_premake) == "function" ]] && kernel-2_hook_premake
- debug-print "Doing epatch_user"
- epatch_user
+ debug-print "Applying any user patches"
+ # apply any user patches
+ case ${EAPI:-0} in
+ 0|1|2|3|4|5) epatch_user ;;
+ 6) eapply_user ;;
+ esac
debug-print "Doing unpack_set_extraversion"