diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-06 17:31:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-08 10:56:35 +0000 |
commit | b177f377285746364354ab26d95b9f2f09f08dcf (patch) | |
tree | dca36f9ad6faf75596ace5f007dac19b03fea033 /meta/classes-global/package.bbclass | |
parent | 7e0e0ef0003b86a3c49965bc775c447b186ca90e (diff) | |
download | poky-b177f377285746364354ab26d95b9f2f09f08dcf.tar.gz |
package/package_write: Improve packagedata code location
Move the do_packagedata dependencies into the package_write codeblocks
themselves. Also drop the dependency for the tar package backend which
was dropped.
(From OE-Core rev: 372a7f2e3c5c03da044e576e1501e86f8938f5e6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/package.bbclass')
-rw-r--r-- | meta/classes-global/package.bbclass | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/classes-global/package.bbclass b/meta/classes-global/package.bbclass index 820920eadf..2ad820a81f 100644 --- a/meta/classes-global/package.bbclass +++ b/meta/classes-global/package.bbclass | |||
@@ -613,22 +613,3 @@ python do_packagedata_setscene () { | |||
613 | } | 613 | } |
614 | addtask do_packagedata_setscene | 614 | addtask do_packagedata_setscene |
615 | 615 | ||
616 | # This part ensures all the runtime packages built by the time | ||
617 | # dynamic renaming occures, if any. | ||
618 | # This part moved here from debian.bbclass (see for reference) in | ||
619 | # order to allow disabling default inheritance on debian package renaming. | ||
620 | |||
621 | PKGRDEP = "do_packagedata" | ||
622 | do_package_write_ipk[deptask] = "${PKGRDEP}" | ||
623 | do_package_write_deb[deptask] = "${PKGRDEP}" | ||
624 | do_package_write_tar[deptask] = "${PKGRDEP}" | ||
625 | do_package_write_rpm[deptask] = "${PKGRDEP}" | ||
626 | do_package_write_ipk[rdeptask] = "${PKGRDEP}" | ||
627 | do_package_write_deb[rdeptask] = "${PKGRDEP}" | ||
628 | do_package_write_tar[rdeptask] = "${PKGRDEP}" | ||
629 | do_package_write_rpm[rdeptask] = "${PKGRDEP}" | ||
630 | |||
631 | python () { | ||
632 | if not d.getVar("PACKAGES"): | ||
633 | d.setVar("PKGRDEP", "") | ||
634 | } | ||