mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
eclass/kernel-2.eclass: Apply patches defined in ebuilds
eclass will now also apply patches defined in ebuilds that inherit this eclass. PATCHES= Thanks to Hank Leininger for reporting Closes: https://bugs.gentoo.org/979768 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
This commit is contained in:
@@ -1501,11 +1501,14 @@ kernel-2_src_unpack() {
|
||||
# @FUNCTION: kernel-2_src_prepare
|
||||
# @USAGE:
|
||||
# @DESCRIPTION:
|
||||
# Apply any user patches
|
||||
# Apply any user patches from /etc/portage/patches
|
||||
# and patches defined in any ebuild inheriting this eclass
|
||||
|
||||
kernel-2_src_prepare() {
|
||||
debug-print "Applying any user patches"
|
||||
debug-print "$FUNCNAME: Applying any user patches from /etc/portage/patches/*"
|
||||
eapply_user
|
||||
debug-print "$FUNCNAME: Applying patches defined in ebuild PATCHES=<*>"
|
||||
[[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}"
|
||||
}
|
||||
|
||||
# @FUNCTION: kernel-2_src_compile
|
||||
|
||||
Reference in New Issue
Block a user