summaryrefslogtreecommitdiffstats
path: root/meta/classes/debian.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-05 15:58:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-06 11:09:53 +0000
commit343626fac98a5f5666d789b723f1894924b9ebd5 (patch)
tree18a5053f0df09ad0c0e4322db606a9aa1638f876 /meta/classes/debian.bbclass
parent3d7b493f118014c5f7d424fae616aa155984336b (diff)
downloadpoky-343626fac98a5f5666d789b723f1894924b9ebd5.tar.gz
debian: Fix renaming packagedata dependencies
We've recently seen issues where libxkbcommon was changed in/out of debian renaming and weston which DEPENDS but doesn't RDEPEND on it would show build failures. Looking at the sigdata file for weston:do_package_write_XXX, there were dependencies on packagedata for RDEPENDS but not DEPENDS. Some items like libxkbcommon are in DEPENDS but become autodetected RDEPENDS. The debian class already handles RDEPENDS but needs to handle DEPENDS in a similar way to avoid failures since bitbake treats them as two separate namespaces (unlike recrdepends). (From OE-Core rev: 834f7d735286c47765beb65778634eec7c2bd64f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/debian.bbclass')
-rw-r--r--meta/classes/debian.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 39b1a1a08b..8367be9f37 100644
--- a/meta/classes/debian.bbclass
+++ b/meta/classes/debian.bbclass
@@ -14,6 +14,10 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
14inherit package 14inherit package
15 15
16DEBIANRDEP = "do_packagedata" 16DEBIANRDEP = "do_packagedata"
17do_package_write_ipk[deptask] = "${DEBIANRDEP}"
18do_package_write_deb[deptask] = "${DEBIANRDEP}"
19do_package_write_tar[deptask] = "${DEBIANRDEP}"
20do_package_write_rpm[deptask] = "${DEBIANRDEP}"
17do_package_write_ipk[rdeptask] = "${DEBIANRDEP}" 21do_package_write_ipk[rdeptask] = "${DEBIANRDEP}"
18do_package_write_deb[rdeptask] = "${DEBIANRDEP}" 22do_package_write_deb[rdeptask] = "${DEBIANRDEP}"
19do_package_write_tar[rdeptask] = "${DEBIANRDEP}" 23do_package_write_tar[rdeptask] = "${DEBIANRDEP}"