aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-02-19 12:26:02 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-02-19 12:26:02 +0000
commita6862865f72d4becafae03b9a973b5c12f6373f2 (patch)
treed4caadd6365c559c2097b027b53c57d2f3706d12 /classes/package_rpm.bbclass
parenta6b99dfd68512d6ce292534d0524b8abae5da4cf (diff)
downloadopenembedded-a6862865f72d4becafae03b9a973b5c12f6373f2.tar.gz
openembedded-a6862865f72d4becafae03b9a973b5c12f6373f2.tar.bz2
openembedded-a6862865f72d4becafae03b9a973b5c12f6373f2.zip
package_rpm/tar.bbclass: Don't clobber task depends, append to it. Also make tar packaging slightly less verbose (from poky)
Diffstat (limited to 'classes/package_rpm.bbclass')
-rw-r--r--classes/package_rpm.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass
index 7fc5e8ea96..6713f8fcad 100644
--- a/classes/package_rpm.bbclass
+++ b/classes/package_rpm.bbclass
@@ -134,7 +134,10 @@ python do_package_rpm () {
python () {
import bb
if bb.data.getVar('PACKAGES', d, True) != '':
- bb.data.setVarFlag('do_package_write_rpm', 'depends', 'rpm-native:do_populate_staging', d)
+ deps = (bb.data.getVarFlag('do_package_write_rpm', 'depends', d) or "").split()
+ deps.append('rpm-native:do_populate_staging')
+ deps.append('fakeroot-native:do_populate_staging')
+ bb.data.setVarFlag('do_package_write_rpm', 'depends', " ".join(deps), d)
}