diff options
| author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2023-07-04 10:39:16 +0300 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-08-02 04:47:13 -1000 |
| commit | 1d0454b413e965ac1021c492fa1e0ac5355eb1af (patch) | |
| tree | 544d005078acc85ee90694cbbeead6f4b90eec61 | |
| parent | 06416b34a077b53fd5d5995a730bedfa345214b6 (diff) | |
| download | poky-1d0454b413e965ac1021c492fa1e0ac5355eb1af.tar.gz | |
mdadm: fix 07revert-inplace ptest
Testcase 07revert-inplace fails if strace is not installed:
...
strace -o /tmp/str ./mdadm -A /dev/md0 --update=revert-reshape /dev/<...>
tests/07revert-inplace: line 40: strace: command not found
Add strace to mdadm-ptest RDEPENDS to make sure the testcase passes even with
a core-image-minimal build.
(From OE-Core rev: 1df8d9d45bb4ff01e30d9ec9ffd0fb822d5f91e9)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7d9386663ac52ab69812867a0823c6055aedbc18)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-extended/mdadm/mdadm_4.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb b/meta/recipes-extended/mdadm/mdadm_4.2.bb index af486e6d9c..aa97eef3ce 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.2.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb | |||
| @@ -99,7 +99,7 @@ do_install_ptest() { | |||
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | RDEPENDS:${PN} += "bash" | 101 | RDEPENDS:${PN} += "bash" |
| 102 | RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs util-linux-lsblk util-linux-losetup" | 102 | RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs util-linux-lsblk util-linux-losetup strace" |
| 103 | RRECOMMENDS:${PN}-ptest += " \ | 103 | RRECOMMENDS:${PN}-ptest += " \ |
| 104 | coreutils \ | 104 | coreutils \ |
| 105 | kernel-module-loop \ | 105 | kernel-module-loop \ |
