Skip to contentSkip to conversation

rpm: Add base-files as RDEPENDS

PATCH New Saul Wold 1 participant 1 message Sep 25, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 rpm: Add base-files as RDEPENDS

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.

---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/rpm/rpm_5.4.9.bb +3 -1
index 3b00570..5435445 100644
@@ -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/_*"
Signature · 1 line
1.7.9.5