[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 2/5] linux-libc-headers: make compression format configurable
From:       bruce.ashfield () windriver ! com (Bruce Ashfield)
Date:       2014-03-31 17:56:30
Message-ID: 3a9adcaec1d3f2dc4a0fcdff33f7f3e207a9f92d.1396288310.git.bruce.ashfield () windriver ! com
[Download RAW message or body]

As of the 3.13 kernel bz2 compressed tarballs are not available. To support
older header tarballs, and newer ones that require the 'xz' compressed
bundles, we can break out a variable that allows versioned libc headers to
select the archive format that works.

Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc \
b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc index \
                3f27afa4c922..b18d09fd6c3e 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -41,7 +41,9 @@ python __anonymous () {
 
 inherit kernel-arch
 
-SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.bz2"
 +KORG_ARCHIVE_COMPRESSION ?= "bz2"
+
+SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/v${HEADER_FETCH_VER}/linux-${PV}.tar.${KORG_ARCHIVE_COMPRESSION}"
  
 S = "${WORKDIR}/linux-${PV}"
 
-- 
1.8.1.2


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic