[oe-commits] Holger Hans Peter Freyther : [iotop] Make the installed package work

GIT User account git at amethyst.openembedded.net
Wed Oct 15 16:55:48 UTC 2008


Module: openembedded.dev.git
Branch: org.openembedded.dev
Commit: b652b082b012bd5c849502e5a0f3a8e50ffb8939
URL:    http://gitweb.openembedded.net/?p=openembedded.dev.git&a=commit;h=b652b082b012bd5c849502e5a0f3a8e50ffb8939

Author: Holger Hans Peter Freyther <zecke at openmoko.org>
Date:   Mon Jul 21 19:37:45 2008 +0200

[iotop] Make the installed package work

---

 packages/iotop/iotop_0.2.1.bb |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/packages/iotop/iotop_0.2.1.bb b/packages/iotop/iotop_0.2.1.bb
index 64d2a36..9d4d93c 100644
--- a/packages/iotop/iotop_0.2.1.bb
+++ b/packages/iotop/iotop_0.2.1.bb
@@ -1,6 +1,14 @@
 HOMEPAGE = "http://guichaz.free.fr/iotop/"
 LICENSE = "GPL"
+PR = "r1"
+
+RDEPENDS = "python-distutils python-curses python-setuptools python-textutils"
 
 SRC_URI = "http://guichaz.free.fr/iotop/files/${PN}-${PV}.tar.bz2"
 
 inherit distutils
+
+do_install_prepend() {
+    rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/site.pyo
+    rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/site.py
+}





More information about the Openembedded-commits mailing list