diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-13 18:14:54 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-14 09:31:31 +0100 |
commit | def33b5a819276057a047713de05475e792f5a18 (patch) | |
tree | 2cf4879f87630b16c41bcf09d6939868f7da99d4 /meta-oe/recipes-extended/iotop | |
parent | 7210880fb3baf98739bf61f9ab55764d6e76f423 (diff) | |
download | meta-openembedded-def33b5a819276057a047713de05475e792f5a18.tar.gz |
iotop: don't fail when site.py* does not exist
* also remove usr/share/share removal, it's taken care of in distutils.bbclass now
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/iotop')
-rw-r--r-- | meta-oe/recipes-extended/iotop/iotop_0.4.4.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/iotop/iotop_0.4.4.bb b/meta-oe/recipes-extended/iotop/iotop_0.4.4.bb index 8be41af41..3b8150be9 100644 --- a/meta-oe/recipes-extended/iotop/iotop_0.4.4.bb +++ b/meta-oe/recipes-extended/iotop/iotop_0.4.4.bb | |||
@@ -4,6 +4,8 @@ DESCRIPTION = "iotop does for I/O usage what top(1) does for CPU usage. \ | |||
4 | a table of current I/O usage by processes on the system." | 4 | a table of current I/O usage by processes on the system." |
5 | HOMEPAGE = "http://guichaz.free.fr/iotop/" | 5 | HOMEPAGE = "http://guichaz.free.fr/iotop/" |
6 | 6 | ||
7 | PR = "r1" | ||
8 | |||
7 | LICENSE = "GPLv2+" | 9 | LICENSE = "GPLv2+" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" |
9 | 11 | ||
@@ -14,9 +16,8 @@ SRC_URI[sha256sum] = "46f3279fb1a7dfc129b5d00950c6e8389e4aedeb58880e848b88d68648 | |||
14 | inherit distutils | 16 | inherit distutils |
15 | 17 | ||
16 | do_install_append() { | 18 | do_install_append() { |
17 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.pyo | 19 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.pyo || true |
18 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py | 20 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py || true |
19 | [ -d ${D}${datadir}/share ] && rmdir ${D}${datadir}/share | ||
20 | } | 21 | } |
21 | 22 | ||
22 | RDEPENDS_${PN} = "python-distutils python-curses python-textutils \ | 23 | RDEPENDS_${PN} = "python-distutils python-curses python-textutils \ |