1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

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>
This commit is contained in:
Richard Purdie
2023-11-06 17:31:10 +00:00
parent 7e0e0ef000
commit b177f37728
5 changed files with 12 additions and 22 deletions
-19
View File
@@ -613,22 +613,3 @@ python do_packagedata_setscene () {
}
addtask do_packagedata_setscene
# This part ensures all the runtime packages built by the time
# dynamic renaming occures, if any.
# This part moved here from debian.bbclass (see for reference) in
# order to allow disabling default inheritance on debian package renaming.
PKGRDEP = "do_packagedata"
do_package_write_ipk[deptask] = "${PKGRDEP}"
do_package_write_deb[deptask] = "${PKGRDEP}"
do_package_write_tar[deptask] = "${PKGRDEP}"
do_package_write_rpm[deptask] = "${PKGRDEP}"
do_package_write_ipk[rdeptask] = "${PKGRDEP}"
do_package_write_deb[rdeptask] = "${PKGRDEP}"
do_package_write_tar[rdeptask] = "${PKGRDEP}"
do_package_write_rpm[rdeptask] = "${PKGRDEP}"
python () {
if not d.getVar("PACKAGES"):
d.setVar("PKGRDEP", "")
}