diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-09-22 13:59:03 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-09-22 15:34:16 +0200 |
commit | ac89f82dc84c9222318642f6b75d5a3dad324594 (patch) | |
tree | a09a8f9d91a5df69eb040ee5942408afa8ddfd6c /meta-oe/recipes-support | |
parent | 64a25e7e3213f86dbc1a4c7ca833058e04c38389 (diff) | |
download | meta-openembedded-ac89f82dc84c9222318642f6b75d5a3dad324594.tar.gz |
lzma: replace oe.process.run with subprocess.call in do_unpack, drop NATIVE_INSTALL_WORKS
* oe.process was removed in
http://git.openembedded.org/openembedded-core/commit/meta/lib/oe?id=d56062cbf92ef206bf06c767befacb66927a9a36
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/lzma/lzma.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/lzma/lzma.inc b/meta-oe/recipes-support/lzma/lzma.inc index 971860038..457d7f493 100644 --- a/meta-oe/recipes-support/lzma/lzma.inc +++ b/meta-oe/recipes-support/lzma/lzma.inc | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "LZMA is a general compression method. LZMA provides high compress | |||
2 | HOMEPAGE = "http://www.7-zip.org/" | 2 | HOMEPAGE = "http://www.7-zip.org/" |
3 | LICENSE = "LGPL" | 3 | LICENSE = "LGPL" |
4 | LIC_FILES_CHKSUM = "file://lzma.txt;md5=20251cdc2e3793cceab11878d0aa11b1" | 4 | LIC_FILES_CHKSUM = "file://lzma.txt;md5=20251cdc2e3793cceab11878d0aa11b1" |
5 | INC_PR = "r6" | 5 | INC_PR = "r7" |
6 | 6 | ||
7 | SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@bb.data.getVar('PV',d,1).replace('.','')}.tar.bz2;subdir=${BPN}-${PV} \ | 7 | SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@bb.data.getVar('PV',d,1).replace('.','')}.tar.bz2;subdir=${BPN}-${PV} \ |
8 | file://001-large_files.patch \ | 8 | file://001-large_files.patch \ |
@@ -14,10 +14,10 @@ SRC_URI = "http://downloads.sourceforge.net/sevenzip/lzma${@bb.data.getVar('PV', | |||
14 | EXTRA_OEMAKE = "-f makefile.gcc" | 14 | EXTRA_OEMAKE = "-f makefile.gcc" |
15 | 15 | ||
16 | do_unpack_append() { | 16 | do_unpack_append() { |
17 | import oe.process | 17 | import subprocess |
18 | # Replace MS-DOS line-endings with Unix style line-endings | 18 | # Replace MS-DOS line-endings with Unix style line-endings |
19 | oe.process.run("find . -type f -print0 | xargs -0 sed 's/\r$//' -i", | 19 | subprocess.call("find . -type f -print0 | xargs -0 sed 's/\r$//' -i", |
20 | cwd=d.getVar("S", True)) | 20 | cwd=d.getVar("S", True), shell=True) |
21 | } | 21 | } |
22 | 22 | ||
23 | do_compile() { | 23 | do_compile() { |
@@ -32,5 +32,4 @@ do_install() { | |||
32 | oe_libinstall -a -C C/LzmaUtil liblzma ${D}${libdir} | 32 | oe_libinstall -a -C C/LzmaUtil liblzma ${D}${libdir} |
33 | } | 33 | } |
34 | 34 | ||
35 | NATIVE_INSTALL_WORKS = "1" | ||
36 | BBCLASSEXTEND = "native" | 35 | BBCLASSEXTEND = "native" |