summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-06 17:31:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-08 10:56:35 +0000
commitb177f377285746364354ab26d95b9f2f09f08dcf (patch)
treedca36f9ad6faf75596ace5f007dac19b03fea033 /meta/classes-global/package.bbclass
parent7e0e0ef0003b86a3c49965bc775c447b186ca90e (diff)
downloadpoky-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.bbclass19
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}
614addtask do_packagedata_setscene 614addtask 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
621PKGRDEP = "do_packagedata"
622do_package_write_ipk[deptask] = "${PKGRDEP}"
623do_package_write_deb[deptask] = "${PKGRDEP}"
624do_package_write_tar[deptask] = "${PKGRDEP}"
625do_package_write_rpm[deptask] = "${PKGRDEP}"
626do_package_write_ipk[rdeptask] = "${PKGRDEP}"
627do_package_write_deb[rdeptask] = "${PKGRDEP}"
628do_package_write_tar[rdeptask] = "${PKGRDEP}"
629do_package_write_rpm[rdeptask] = "${PKGRDEP}"
630
631python () {
632 if not d.getVar("PACKAGES"):
633 d.setVar("PKGRDEP", "")
634}