summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-21 10:07:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-23 13:49:11 +0100
commit4aa4eadecb4e7c4158e9163644b3a2a7bc74c0fb (patch)
treee822c40a85370bdc8691d33def17dccc673a6928 /meta
parent568f62214bca3ac6d35eef8d9f4562596fb4c9ab (diff)
downloadpoky-4aa4eadecb4e7c4158e9163644b3a2a7bc74c0fb.tar.gz
reproducible_build/package_XXX: Ensure SDE task is in dependency chain
(From OE-Core rev: 938e4dfb68a465f61cb754b2cd28d0728616b5a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_deb.bbclass3
-rw-r--r--meta/classes/package_ipk.bbclass3
-rw-r--r--meta/classes/package_rpm.bbclass3
-rw-r--r--meta/classes/reproducible_build.bbclass2
4 files changed, 8 insertions, 3 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 77caaa55c8..65dbe6c392 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -315,7 +315,8 @@ python do_package_write_deb () {
315do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}" 315do_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 before do_build 318EPOCHTASK ??= ""
319addtask package_write_deb after do_packagedata do_package ${EPOCHTASK} before do_build
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"
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 998e18ba6c..4fcb25ca70 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -274,7 +274,8 @@ python do_package_write_ipk () {
274do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}" 274do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}"
275do_package_write_ipk[cleandirs] = "${PKGWRITEDIRIPK}" 275do_package_write_ipk[cleandirs] = "${PKGWRITEDIRIPK}"
276do_package_write_ipk[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" 276do_package_write_ipk[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}"
277addtask package_write_ipk after do_packagedata do_package before do_build 277EPOCHTASK ??= ""
278addtask package_write_ipk after do_packagedata do_package ${EPOCHTASK} before do_build
278 279
279PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" 280PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot"
280PACKAGEINDEXDEPS += "opkg-native:do_populate_sysroot" 281PACKAGEINDEXDEPS += "opkg-native:do_populate_sysroot"
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 60f8299d96..1c62d8283b 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -748,7 +748,8 @@ python do_package_write_rpm () {
748do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}" 748do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}"
749do_package_write_rpm[cleandirs] = "${PKGWRITEDIRRPM}" 749do_package_write_rpm[cleandirs] = "${PKGWRITEDIRRPM}"
750do_package_write_rpm[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" 750do_package_write_rpm[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}"
751addtask package_write_rpm after do_packagedata do_package before do_build 751EPOCHTASK ??= ""
752addtask package_write_rpm after do_packagedata do_package ${EPOCHTASK} before do_build
752 753
753PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot" 754PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot"
754PACKAGEINDEXDEPS += "createrepo-c-native:do_populate_sysroot" 755PACKAGEINDEXDEPS += "createrepo-c-native:do_populate_sysroot"
diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass
index 96bb012243..89f645b858 100644
--- a/meta/classes/reproducible_build.bbclass
+++ b/meta/classes/reproducible_build.bbclass
@@ -109,6 +109,8 @@ python create_source_date_epoch_stamp() {
109 os.rename(tmp_file, epochfile) 109 os.rename(tmp_file, epochfile)
110} 110}
111 111
112EPOCHTASK = "do_deploy_source_date_epoch"
113
112# Generate the stamp after do_unpack runs 114# Generate the stamp after do_unpack runs
113do_unpack[postfuncs] += "create_source_date_epoch_stamp" 115do_unpack[postfuncs] += "create_source_date_epoch_stamp"
114 116