mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 04:30:41 +00:00
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>
This commit is contained in:
parent
7210880fb3
commit
def33b5a81
@ -4,6 +4,8 @@ DESCRIPTION = "iotop does for I/O usage what top(1) does for CPU usage. \
|
|||||||
a table of current I/O usage by processes on the system."
|
a table of current I/O usage by processes on the system."
|
||||||
HOMEPAGE = "http://guichaz.free.fr/iotop/"
|
HOMEPAGE = "http://guichaz.free.fr/iotop/"
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPLv2+"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
|
||||||
|
|
||||||
@ -14,9 +16,8 @@ SRC_URI[sha256sum] = "46f3279fb1a7dfc129b5d00950c6e8389e4aedeb58880e848b88d68648
|
|||||||
inherit distutils
|
inherit distutils
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.pyo
|
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.pyo || true
|
||||||
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py
|
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/site.py || true
|
||||||
[ -d ${D}${datadir}/share ] && rmdir ${D}${datadir}/share
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS_${PN} = "python-distutils python-curses python-textutils \
|
RDEPENDS_${PN} = "python-distutils python-curses python-textutils \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user