projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6952ad1
)
kernel-2.eclass: Support EAPI 6 when applying user patches.
author
Mike Pagano
<mpagano@gentoo.org>
Mon, 28 Nov 2016 23:54:55 +0000
(18:54 -0500)
committer
Mike Pagano
<mpagano@gentoo.org>
Mon, 28 Nov 2016 23:54:55 +0000
(18:54 -0500)
eclass/kernel-2.eclass
patch
|
blob
|
history
diff --git
a/eclass/kernel-2.eclass
b/eclass/kernel-2.eclass
index c1719409ad89f43304d8a228ee27ce9b93367999..3f5fb3b0863d6a5eb7c811502a780d538385cabc 100644
(file)
--- 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"