diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-28 20:01:41 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-28 20:01:41 +0000 |
commit | d862b5758c48968e6b40597b60d31673b61007a1 (patch) | |
tree | e18efc8db2e9dd079d5ba012ecd0fddaf6d34215 /meta/classes/package_rpm.bbclass | |
parent | 91225da5b854cc0b6416041b47762841eb53b606 (diff) | |
download | poky-d862b5758c48968e6b40597b60d31673b61007a1.tar.gz |
package_{ipk|deb|tar|rpm): append depend-tasks instead of overwriting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3265 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 7fc5e8ea96..6713f8fcad 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -134,7 +134,10 @@ python do_package_rpm () { | |||
134 | python () { | 134 | python () { |
135 | import bb | 135 | import bb |
136 | if bb.data.getVar('PACKAGES', d, True) != '': | 136 | if bb.data.getVar('PACKAGES', d, True) != '': |
137 | bb.data.setVarFlag('do_package_write_rpm', 'depends', 'rpm-native:do_populate_staging', d) | 137 | deps = (bb.data.getVarFlag('do_package_write_rpm', 'depends', d) or "").split() |
138 | deps.append('rpm-native:do_populate_staging') | ||
139 | deps.append('fakeroot-native:do_populate_staging') | ||
140 | bb.data.setVarFlag('do_package_write_rpm', 'depends', " ".join(deps), d) | ||
138 | } | 141 | } |
139 | 142 | ||
140 | 143 | ||