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:
@@ -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", "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user