From 3b57de68e70e77dbc03c0616a83a29a2e99e40b4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 3 Mar 2012 10:41:41 +0000 Subject: meta/classes: Convert to use appendVar and appendVarFlags Signed-off-by: Richard Purdie --- meta/classes/package_deb.bbclass | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'meta/classes/package_deb.bbclass') diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index fc28ee1e2..8721fd212 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -406,10 +406,8 @@ addtask do_package_write_deb_setscene python () { if d.getVar('PACKAGES', True) != '': - deps = (d.getVarFlag('do_package_write_deb', 'depends') or "").split() - deps.append('dpkg-native:do_populate_sysroot') - deps.append('virtual/fakeroot-native:do_populate_sysroot') - d.setVarFlag('do_package_write_deb', 'depends', " ".join(deps)) + deps = ' dpkg-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' + d.appendVarFlag('do_package_write_deb', 'depends', deps) d.setVarFlag('do_package_write_deb', 'fakeroot', "1") d.setVarFlag('do_package_write_deb_setscene', 'fakeroot', "1") -- cgit v1.2.3