diff options
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index fc28ee1e2d..8721fd2121 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -406,10 +406,8 @@ addtask do_package_write_deb_setscene | |||
406 | 406 | ||
407 | python () { | 407 | python () { |
408 | if d.getVar('PACKAGES', True) != '': | 408 | if d.getVar('PACKAGES', True) != '': |
409 | deps = (d.getVarFlag('do_package_write_deb', 'depends') or "").split() | 409 | deps = ' dpkg-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot' |
410 | deps.append('dpkg-native:do_populate_sysroot') | 410 | d.appendVarFlag('do_package_write_deb', 'depends', deps) |
411 | deps.append('virtual/fakeroot-native:do_populate_sysroot') | ||
412 | d.setVarFlag('do_package_write_deb', 'depends', " ".join(deps)) | ||
413 | d.setVarFlag('do_package_write_deb', 'fakeroot', "1") | 411 | d.setVarFlag('do_package_write_deb', 'fakeroot', "1") |
414 | d.setVarFlag('do_package_write_deb_setscene', 'fakeroot', "1") | 412 | d.setVarFlag('do_package_write_deb_setscene', 'fakeroot', "1") |
415 | 413 | ||