From 4cbbf2737db69d4bb6d536ed304eea7e68dfb037 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Thu, 22 Dec 2011 19:01:37 -0600 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/rpm/rpm_5.4.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/rpm') 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" DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}" extrarpmdeps = "python perl" extrarpmdeps_virtclass-native = "file-native" -PR = "r26" +PR = "r27" # rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed # in order to extract the distribution SRPM into a format we can extract... @@ -347,6 +347,7 @@ do_configure() { ./autogen.sh + export varprefix=${localstatedir} oe_runconf } -- cgit v1.2.3-54-g00ecf