[oe-commits] Bruce Ashfield : linux-libc-headers: make compression format configurable

git at git.openembedded.org git at git.openembedded.org
Mon Mar 31 21:56:26 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 116228fceca7fc2a7b557133b1f8f28f41af1ee5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=116228fceca7fc2a7b557133b1f8f28f41af1ee5

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Mon Mar 31 13:56:30 2014 -0400

linux-libc-headers: make compression format configurable

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 3f27afa..b18d09f 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}"
 



More information about the Openembedded-commits mailing list