/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.295 Revision 1.296
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.295 2014/04/14 20:21:42 tomwij Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.296 2014/04/21 00:08:15 mpagano Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Original author: John Mylchreest <johnm@gentoo.org> 8# Original author: John Mylchreest <johnm@gentoo.org>
1046 # location; this causes the dry-run to fail, filed bug #507656. # 1046 # location; this causes the dry-run to fail, filed bug #507656. #
1047 # # 1047 # #
1048 # https://bugs.gentoo.org/show_bug.cgi?id=507656 # 1048 # https://bugs.gentoo.org/show_bug.cgi?id=507656 #
1049 #################################################################### 1049 ####################################################################
1050 if [[ ${PN} == "git-sources" ]] ; then 1050 if [[ ${PN} == "git-sources" ]] ; then
1051 if [[ ${i} == *"/patch-3.15-rc1.patch" ]] ; then 1051 if [[ ${KV_MAJOR}${KV_PATCH} -ge 315 && ${RELEASETYPE} == -rc ]] ; then
1052 ebegin "Applying ${i/*\//} (-p1)" 1052 ebegin "Applying ${i/*\//} (-p1)"
1053 if [ $(patch -p1 --no-backup-if-mismatch -f < ${i} >> ${STDERR_T}) "$?" -eq 0 ]; then 1053 if [ $(patch -p1 --no-backup-if-mismatch -f < ${i} >> ${STDERR_T}) "$?" -eq 0 ]; then
1054 eend 0 1054 eend 0
1055 rm ${STDERR_T} 1055 rm ${STDERR_T}
1056 break 1056 break

Legend:
Removed from v.1.295  
changed lines
  Added in v.1.296

  ViewVC Help
Powered by ViewVC 1.1.20