summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-12-22 19:01:37 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-24 10:05:45 +0000
commit4cbbf2737db69d4bb6d536ed304eea7e68dfb037 (patch)
tree7071ffb055f931c34a6ed346d144a3ac99778046 /meta/recipes-devtools/rpm
parent71ed507f8821770eee28454aa45a7db303a21e88 (diff)
downloadpoky-4cbbf2737db69d4bb6d536ed304eea7e68dfb037.tar.gz
rpm_5.4.0: Fix configuration issue with native/nativesdk
RPM's configuration assumes if the prefix isn't /usr or /usr/local that you really want the DB in $prefix/var -- we want it in $localstatedir. (From OE-Core rev: 528a2ec8ab53d652d74c51334a40905f009dfd91) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index 2c0c076ebd..122d3a922a 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -45,7 +45,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
45DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}" 45DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
46extrarpmdeps = "python perl" 46extrarpmdeps = "python perl"
47extrarpmdeps_virtclass-native = "file-native" 47extrarpmdeps_virtclass-native = "file-native"
48PR = "r26" 48PR = "r27"
49 49
50# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed 50# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
51# in order to extract the distribution SRPM into a format we can extract... 51# in order to extract the distribution SRPM into a format we can extract...
@@ -347,6 +347,7 @@ do_configure() {
347 347
348 ./autogen.sh 348 ./autogen.sh
349 349
350 export varprefix=${localstatedir}
350 oe_runconf 351 oe_runconf
351} 352}
352 353