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:22:36 -0800 |
commit | d01dadfb87cfd2284b3e849d35a35fe5df0239c4 (patch) | |
tree | 10d3685054f38592b0c1a39452c0e65bc47b945b /meta/classes/package_rpm.bbclass | |
parent | a439d32dd843d10a9f65cc858b02422fac7deb50 (diff) | |
download | poky-d01dadfb87cfd2284b3e849d35a35fe5df0239c4.tar.gz |
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 a813c8b59c..a264712f9e 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -1025,10 +1025,8 @@ python do_package_rpm () { | |||
1025 | 1025 | ||
1026 | python () { | 1026 | python () { |
1027 | if d.getVar('PACKAGES', True) != '': | 1027 | if d.getVar('PACKAGES', True) != '': |
1028 | deps = (d.getVarFlag('do_package_write_rpm', 'depends') or "").split() | 1028 | deps = ' rpm-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' |
1029 | deps.append('rpm-native:do_populate_sysroot') | 1029 | d.appendVarFlag('do_package_write_rpm', 'depends', deps) |
1030 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | ||
1031 | d.setVarFlag('do_package_write_rpm', 'depends', " ".join(deps)) | ||
1032 | d.setVarFlag('do_package_write_rpm', 'fakeroot', 1) | 1030 | d.setVarFlag('do_package_write_rpm', 'fakeroot', 1) |
1033 | d.setVarFlag('do_package_write_rpm_setscene', 'fakeroot', 1) | 1031 | d.setVarFlag('do_package_write_rpm_setscene', 'fakeroot', 1) |
1034 | } | 1032 | } |