summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-04 11:16:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-04 23:14:05 +0000
commitf22e1fbdf7bed111e080d176fe5a39c5139308ed (patch)
treeb17ee98ad86026227a90a09960a775cb55e49f5e /meta/classes/package_deb.bbclass
parent48e7c7cc4d976d541e97087222387214b3088cf3 (diff)
downloadpoky-f22e1fbdf7bed111e080d176fe5a39c5139308ed.tar.gz
package_deb/ipk/rpm: Add more minimal do_build dependencies back
The dependencies for do_build became a little too minimal after the removal of recrdeptask since "bitbake go" would not package go-runtime despite it being in DEPENDS and the resulting package having a dependency on it. A reasonable compromise is probably rdeptask instead of recrdeptask which is a lot lower overhead but makes the build target more useful and importantly, lets world builds do what you'd expect them to. (From OE-Core rev: f3d02c328f3f182340528d11c7b10454e3f6a54b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 1ae6393d37..2e75e222bc 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -316,6 +316,7 @@ do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}"
316do_package_write_deb[cleandirs] = "${PKGWRITEDIRDEB}" 316do_package_write_deb[cleandirs] = "${PKGWRITEDIRDEB}"
317do_package_write_deb[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" 317do_package_write_deb[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}"
318addtask package_write_deb after do_packagedata do_package do_deploy_source_date_epoch before do_build 318addtask package_write_deb after do_packagedata do_package do_deploy_source_date_epoch before do_build
319do_build[rdeptask] += "do_package_write_deb"
319 320
320PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot" 321PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot"
321PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot" 322PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot"