diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2023-08-18 19:57:38 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-21 11:34:12 +0100 |
commit | ac0f3298064ae4bd5958ac21e061103b57b02347 (patch) | |
tree | e56d988b327c82d7be8dab6244f1d045e910f033 /meta/recipes-extended/mdadm | |
parent | b7b382101b401deda2df5e7f71e581d8ced51f5f (diff) | |
download | poky-ac0f3298064ae4bd5958ac21e061103b57b02347.tar.gz |
mdadm: disable strace on rv32 arch
strace program is not yet ported to RiscV 32 arch. Disable corresponding
dependency and test to remove dependency on the non-existing package,
which otherwise breaks building of core images:
ERROR: Nothing RPROVIDES 'strace' (but /oe/poky/meta/recipes-extended/mdadm/mdadm_4.2.bb RDEPENDS on or otherwise requires it)
strace was skipped: incompatible with host riscv32-poky-linux (not in COMPATIBLE_HOST)
NOTE: Runtime target 'strace' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['strace']
NOTE: Runtime target 'mdadm' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mdadm', 'strace']
NOTE: Runtime target 'matchbox-terminal' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['matchbox-terminal', 'gtk+3', 'glib-2.0', 'util-linux', 'mdadm', 'strace']
ERROR: Required build target 'core-image-weston' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-weston', 'matchbox-terminal', 'gtk+3', 'glib-2.0', 'util-linux', 'mdadm', 'strace']
(From OE-Core rev: 9eca859f3bad9a881162f514d6147be5fd1351d9)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm')
-rw-r--r-- | meta/recipes-extended/mdadm/mdadm_4.2.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb b/meta/recipes-extended/mdadm/mdadm_4.2.bb index c367b633a3..f624d81df5 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.2.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb | |||
@@ -127,3 +127,10 @@ RRECOMMENDS:${PN}-ptest += " \ | |||
127 | " | 127 | " |
128 | 128 | ||
129 | FILES:${PN} += "${systemd_unitdir}/*" | 129 | FILES:${PN} += "${systemd_unitdir}/*" |
130 | |||
131 | # strace is not yet ported to rv32 | ||
132 | RDEPENDS:${PN}-ptest:remove:riscv32 = "strace" | ||
133 | do_install_ptest:append:riscv32 () { | ||
134 | echo "disabled, no strace" > ${D}${PTEST_PATH}/tests/07revert-grow.broken | ||
135 | echo "disabled, no strace" > ${D}${PTEST_PATH}/tests/07revert-inplace.broken | ||
136 | } | ||