rpm: Add base-files as RDEPENDS
authorSaul Wold <sgw@linux.intel.com>
Tue, 25 Sep 2012 00:04:55 +0000 (17:04 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Sep 2012 09:41:27 +0000 (10:41 +0100)
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.

(From OE-Core rev: 917f57cbb0906996661eebc6656c2c083ef979e9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_5.4.9.bb

index 3b00570..5435445 100644 (file)
@@ -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/_*"