diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-21 10:07:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-23 13:49:11 +0100 |
commit | 4aa4eadecb4e7c4158e9163644b3a2a7bc74c0fb (patch) | |
tree | e822c40a85370bdc8691d33def17dccc673a6928 /meta | |
parent | 568f62214bca3ac6d35eef8d9f4562596fb4c9ab (diff) | |
download | poky-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.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/package_ipk.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/package_rpm.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/reproducible_build.bbclass | 2 |
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 () { | |||
315 | do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}" | 315 | do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}" |
316 | do_package_write_deb[cleandirs] = "${PKGWRITEDIRDEB}" | 316 | do_package_write_deb[cleandirs] = "${PKGWRITEDIRDEB}" |
317 | do_package_write_deb[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" | 317 | do_package_write_deb[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" |
318 | addtask package_write_deb after do_packagedata do_package before do_build | 318 | EPOCHTASK ??= "" |
319 | addtask package_write_deb after do_packagedata do_package ${EPOCHTASK} before do_build | ||
319 | 320 | ||
320 | PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot" | 321 | PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot" |
321 | PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot" | 322 | PACKAGEINDEXDEPS += "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 () { | |||
274 | do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}" | 274 | do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}" |
275 | do_package_write_ipk[cleandirs] = "${PKGWRITEDIRIPK}" | 275 | do_package_write_ipk[cleandirs] = "${PKGWRITEDIRIPK}" |
276 | do_package_write_ipk[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" | 276 | do_package_write_ipk[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" |
277 | addtask package_write_ipk after do_packagedata do_package before do_build | 277 | EPOCHTASK ??= "" |
278 | addtask package_write_ipk after do_packagedata do_package ${EPOCHTASK} before do_build | ||
278 | 279 | ||
279 | PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" | 280 | PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" |
280 | PACKAGEINDEXDEPS += "opkg-native:do_populate_sysroot" | 281 | PACKAGEINDEXDEPS += "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 () { | |||
748 | do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}" | 748 | do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}" |
749 | do_package_write_rpm[cleandirs] = "${PKGWRITEDIRRPM}" | 749 | do_package_write_rpm[cleandirs] = "${PKGWRITEDIRRPM}" |
750 | do_package_write_rpm[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" | 750 | do_package_write_rpm[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" |
751 | addtask package_write_rpm after do_packagedata do_package before do_build | 751 | EPOCHTASK ??= "" |
752 | addtask package_write_rpm after do_packagedata do_package ${EPOCHTASK} before do_build | ||
752 | 753 | ||
753 | PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot" | 754 | PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot" |
754 | PACKAGEINDEXDEPS += "createrepo-c-native:do_populate_sysroot" | 755 | PACKAGEINDEXDEPS += "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 | ||
112 | EPOCHTASK = "do_deploy_source_date_epoch" | ||
113 | |||
112 | # Generate the stamp after do_unpack runs | 114 | # Generate the stamp after do_unpack runs |
113 | do_unpack[postfuncs] += "create_source_date_epoch_stamp" | 115 | do_unpack[postfuncs] += "create_source_date_epoch_stamp" |
114 | 116 | ||