summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-29 18:21:00 +0000
committerRob Bradford <rob@linux.intel.com>2008-10-29 18:22:42 +0000
commit6c298cebbd728b93e94be0087b3a3fdc12d02d65 (patch)
treea9d9d87170685182ae568154c3f7d6b6747975f4 /meta
parentb906b0cd60e34767bd56de92d1070fc49c5edac7 (diff)
downloadopenembedded-core-6c298cebbd728b93e94be0087b3a3fdc12d02d65.tar.gz
openembedded-core-6c298cebbd728b93e94be0087b3a3fdc12d02d65.tar.bz2
openembedded-core-6c298cebbd728b93e94be0087b3a3fdc12d02d65.zip
rpm: Don't create a /var/tmp directory (clashes with basefiles)
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/rpm/rpm_4.4.2.3.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/packages/rpm/rpm_4.4.2.3.bb b/meta/packages/rpm/rpm_4.4.2.3.bb
index 3083387d87..7532655f5c 100644
--- a/meta/packages/rpm/rpm_4.4.2.3.bb
+++ b/meta/packages/rpm/rpm_4.4.2.3.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "The RPM Package Manager."
HOMEPAGE = "http://rpm.org/"
LICENSE = "LGPL GPL"
DEPENDS = "zlib beecrypt file popt python"
-PR = "r10"
+PR = "r11"
SRC_URI = "http://www.rpm.org/releases/rpm-4.4.x/rpm-4.4.2.3.tar.gz \
file://external-tools.patch;patch=1 \
@@ -94,6 +94,10 @@ do_configure () {
}
+do_install_append () {
+ rmdir ${D}${localstatedir}/tmp || true
+}
+
def rpm_python_version(d):
import os, bb
staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )