summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-03 10:41:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-05 10:22:36 -0800
commitd01dadfb87cfd2284b3e849d35a35fe5df0239c4 (patch)
tree10d3685054f38592b0c1a39452c0e65bc47b945b /meta/classes/package_ipk.bbclass
parenta439d32dd843d10a9f65cc858b02422fac7deb50 (diff)
downloadpoky-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_ipk.bbclass')
-rw-r--r--meta/classes/package_ipk.bbclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 36dedb9c61..e9d1ddcdbc 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -442,10 +442,8 @@ addtask do_package_write_ipk_setscene
442 442
443python () { 443python () {
444 if d.getVar('PACKAGES', True) != '': 444 if d.getVar('PACKAGES', True) != '':
445 deps = (d.getVarFlag('do_package_write_ipk', 'depends') or "").split() 445 deps = ' opkg-utils-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot'
446 deps.append('opkg-utils-native:do_populate_sysroot') 446 d.appendVarFlag('do_package_write_ipk', 'depends', deps)
447 deps.append('virtual/fakeroot-native:do_populate_sysroot')
448 d.setVarFlag('do_package_write_ipk', 'depends', " ".join(deps))
449 d.setVarFlag('do_package_write_ipk', 'fakeroot', "1") 447 d.setVarFlag('do_package_write_ipk', 'fakeroot', "1")
450 d.setVarFlag('do_package_write_ipk_setscene', 'fakeroot', "1") 448 d.setVarFlag('do_package_write_ipk_setscene', 'fakeroot', "1")
451} 449}