Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] base bbclass: add support for tar.lz
@ 2014-10-26 15:10 Koen Kooi
  2014-10-27 10:59 ` Burton, Ross
  0 siblings, 1 reply; 9+ messages in thread
From: Koen Kooi @ 2014-10-26 15:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: Koen Kooi

Some GNU packages (e.g. ddrescue) switched to lzip only, so add support for it.

Needs matching bitbake patch to work properly:
http://lists.openembedded.org/pipermail/bitbake-devel/2014-October/005093.html

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/classes/base.bbclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index ff8c633..128297a 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -478,6 +478,11 @@ python () {
     elif "osc://" in srcuri:
         d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot')
 
+    # *.lz should depends on lzip-native for unpacking
+    # Not endswith because of "*.patch.lz;patch=1". Need bb.fetch.decodeurl in future
+    if '.lz' in srcuri:
+        d.appendVarFlag('do_unpack', 'depends', ' lzip-native:do_populate_sysroot')
+
     # *.lz4 should depends on lz4-native for unpacking
     # Not endswith because of "*.patch.lz4;patch=1". Need bb.fetch.decodeurl in future
     if '.lz4' in srcuri:
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-10-29  6:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-26 15:10 [PATCH] base bbclass: add support for tar.lz Koen Kooi
2014-10-27 10:59 ` Burton, Ross
2014-10-27 11:39   ` Koen Kooi
2014-10-27 11:54     ` Burton, Ross
2014-10-27 13:06       ` Koen Kooi
2014-10-27 13:15         ` Burton, Ross
2014-10-28  9:36           ` Koen Kooi
2014-10-28 22:22             ` Richard Purdie
2014-10-29  6:21               ` Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox