Skip to contentSkip to conversation

rpm4: Drop native RDEPENDS

PATCH New Richard Purdie 1 participant 1 message Jul 22, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpm4: Drop native RDEPENDS

Native recipes should *never* depend on target recipes since this would cause them to rebuild every time the target changes. Before the recent datastore changes, this happened to work. Now, this makes rpm-native unbuildable since base-files-native doesn't exist and the code remaps the variable.

Dropping these dependencies here is the correct way to resolve this issue and fix an autobuilder selftest failure.

meta/recipes-devtools/rpm/rpm_4.11.2.bb +1 -1
index df9aafb..210c943 100644
@@ -122,7 +122,7 @@ FILES_${PN} +=  "${libdir}/rpm \
                  ${libdir}/rpm-plugins/exec.so \
                 "
 RDEPENDS_${PN} = "base-files run-postinsts"
-RDEPENDS_${PN}_class-native = "base-files run-postinsts"
+RDEPENDS_${PN}_class-native = ""
 
 FILES_${PN}-dbg += "${libdir}/rpm/.debug/* \
                     ${libdir}/rpm-plugins/.debug/* \