diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-05 15:58:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-06 11:09:53 +0000 |
commit | 343626fac98a5f5666d789b723f1894924b9ebd5 (patch) | |
tree | 18a5053f0df09ad0c0e4322db606a9aa1638f876 /meta/classes/debian.bbclass | |
parent | 3d7b493f118014c5f7d424fae616aa155984336b (diff) | |
download | poky-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.bbclass | 4 |
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}" | |||
14 | inherit package | 14 | inherit package |
15 | 15 | ||
16 | DEBIANRDEP = "do_packagedata" | 16 | DEBIANRDEP = "do_packagedata" |
17 | do_package_write_ipk[deptask] = "${DEBIANRDEP}" | ||
18 | do_package_write_deb[deptask] = "${DEBIANRDEP}" | ||
19 | do_package_write_tar[deptask] = "${DEBIANRDEP}" | ||
20 | do_package_write_rpm[deptask] = "${DEBIANRDEP}" | ||
17 | do_package_write_ipk[rdeptask] = "${DEBIANRDEP}" | 21 | do_package_write_ipk[rdeptask] = "${DEBIANRDEP}" |
18 | do_package_write_deb[rdeptask] = "${DEBIANRDEP}" | 22 | do_package_write_deb[rdeptask] = "${DEBIANRDEP}" |
19 | do_package_write_tar[rdeptask] = "${DEBIANRDEP}" | 23 | do_package_write_tar[rdeptask] = "${DEBIANRDEP}" |