Patchwork rpm: Add base-files as RDEPENDS

login
register
mail settings
Submitter Saul Wold
Date Sept. 25, 2012, 12:04 a.m.
Message ID <1348531495-25671-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/37155/
State Accepted
Commit 917f57cbb0906996661eebc6656c2c083ef979e9
Headers show

Comments

Saul Wold - Sept. 25, 2012, 12:04 a.m.
This solves a problem when installing rpm using the ipk pkg-management
system where /var/cache was conflicting with the existing /var/cache from
base-files.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 3b00570..5435445 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -43,7 +43,7 @@  LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
 DEPENDS = "libpcre attr acl popt ossp-uuid file bison-native"
-PR = "r47"
+PR = "r48"
 
 # 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...
@@ -294,6 +294,8 @@  FILES_${PN}-build = "${prefix}/src/rpm \
 		${libdir}/rpm/vpkg-provides2.sh \
 		${libdir}/rpm/perfile_rpmdeps.sh \
 		"
+RDEPENDS_${PN} = "base-files"
+RDEPENDS_${PN}_class-native = ""
 RDEPENDS_${PN}-build = "file"
 
 FILES_python-rpm-dbg = "${libdir}/python*/rpm/.debug/_*"