summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-06-05 18:49:49 +0000
committerMike Frysinger <vapier@gentoo.org>2010-06-05 18:49:49 +0000
commitef274adf00fd797561f7ecae7d31a47b1bc85a89 (patch)
tree21fa1b94f87cb9cbfbc69c1337ad41a1666e5e7b /eclass/kernel-2.eclass
parentalpha/arm/ia64/s390/sh/sparc stable wrt #300158 (diff)
downloadhistorical-ef274adf00fd797561f7ecae7d31a47b1bc85a89.tar.gz
historical-ef274adf00fd797561f7ecae7d31a47b1bc85a89.tar.bz2
historical-ef274adf00fd797561f7ecae7d31a47b1bc85a89.zip
support by Jens Pranaitis for xz/lzma patches #322235
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 427e3e086467..ad2015aa514e 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.235 2010/05/28 20:59:59 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.236 2010/06/05 18:49:49 vapier Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -836,6 +836,8 @@ unipatch() {
extention=${extention/:*/}
PIPE_CMD=""
case ${extention} in
+ xz) PIPE_CMD="xz -dc";;
+ lzma) PIPE_CMD="lzma -dc";;
bz2) PIPE_CMD="bzip2 -dc";;
patch) PIPE_CMD="cat";;
diff) PIPE_CMD="cat";;