rpm: Don't create a /var/tmp directory (clashes with basefiles)

This commit is contained in:
Rob Bradford 2008-10-29 18:21:00 +00:00
parent b906b0cd60
commit 6c298cebbd
1 changed files with 5 additions and 1 deletions

View File

@ -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 )