diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-03 10:41:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-05 10:33:18 -0800 |
commit | 3b57de68e70e77dbc03c0616a83a29a2e99e40b4 (patch) | |
tree | 5a49ced6b0b972994fe537094c1c3b406b33c98f /meta/classes/package_rpm.bbclass | |
parent | 906641853e8ac6fd296dfb91f8bb647c7da8e23e (diff) | |
download | openembedded-core-3b57de68e70e77dbc03c0616a83a29a2e99e40b4.tar.gz openembedded-core-3b57de68e70e77dbc03c0616a83a29a2e99e40b4.tar.bz2 openembedded-core-3b57de68e70e77dbc03c0616a83a29a2e99e40b4.tar.xz openembedded-core-3b57de68e70e77dbc03c0616a83a29a2e99e40b4.zip |
meta/classes: Convert to use appendVar and appendVarFlags
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index a813c8b59..a264712f9 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -1025,10 +1025,8 @@ python do_package_rpm () { python () { if d.getVar('PACKAGES', True) != '': - deps = (d.getVarFlag('do_package_write_rpm', 'depends') or "").split() - deps.append('rpm-native:do_populate_sysroot') - deps.append('virtual/fakeroot-native:do_populate_sysroot') - d.setVarFlag('do_package_write_rpm', 'depends', " ".join(deps)) + deps = ' rpm-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' + d.appendVarFlag('do_package_write_rpm', 'depends', deps) d.setVarFlag('do_package_write_rpm', 'fakeroot', 1) d.setVarFlag('do_package_write_rpm_setscene', 'fakeroot', 1) } |