diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2019-05-06 10:29:43 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-05-23 07:03:43 -0700 |
commit | 34ae8c0480a92f318fa5d20cb2eb250f4dbce9c7 (patch) | |
tree | 83e822d879b49ad19e470455df2d917a6d2ff46a | |
parent | 6d5ed37ec8fefdea6a54a804348a8947cba478fc (diff) | |
download | meta-openembedded-34ae8c0480a92f318fa5d20cb2eb250f4dbce9c7.tar.gz |
itstool: rework - it went out too early
* adjust dependencies
* adjust shebang correctly - caused errors not easy to debug in dependent
packages
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/itstool/itstool_2.0.5.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/itstool/itstool_2.0.5.bb b/meta-oe/recipes-support/itstool/itstool_2.0.5.bb index b74d5f607..166e95b3a 100644 --- a/meta-oe/recipes-support/itstool/itstool_2.0.5.bb +++ b/meta-oe/recipes-support/itstool/itstool_2.0.5.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59c57b95fd7d0e9e238ebbc7ad47c5a5" | |||
5 | 5 | ||
6 | inherit autotools python3native | 6 | inherit autotools python3native |
7 | 7 | ||
8 | DEPENDS = "python3-native python3-lxml-native" | 8 | DEPENDS = "python3-lxml-native" |
9 | 9 | ||
10 | SRC_URI = "http://files.itstool.org/${BPN}/${BPN}-${PV}.tar.bz2" | 10 | SRC_URI = "http://files.itstool.org/${BPN}/${BPN}-${PV}.tar.bz2" |
11 | SRC_URI[md5sum] = "655c6f78fc64faee45adcc45ccc5a57e" | 11 | SRC_URI[md5sum] = "655c6f78fc64faee45adcc45ccc5a57e" |
@@ -13,10 +13,10 @@ SRC_URI[sha256sum] = "100506f8df62cca6225ec3e631a8237e9c04650c77495af4919ac6a100 | |||
13 | 13 | ||
14 | do_install_append() { | 14 | do_install_append() { |
15 | # fix shebang of main script | 15 | # fix shebang of main script |
16 | sed -i 's:${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}:${bindir}/${PYTHON_PN}:g' ${D}${bindir}/itstool | 16 | sed -i 's:^#!${WORKDIR}.*${PYTHON_PN} -s:#!${bindir_native}/${PYTHON_PN} -s:' ${D}${bindir}/itstool |
17 | } | 17 | } |
18 | 18 | ||
19 | BBCLASSEXTEND = "native" | 19 | BBCLASSEXTEND = "native" |
20 | 20 | ||
21 | RDEPENDS_${PN} += "python3 python3-lxml" | 21 | RDEPENDS_${PN} += "python3-lxml" |
22 | 22 | ||