Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2 1/5] mdadm: fix util-linux ptest dependency
@ 2023-07-04  7:39 ovidiu.panait
  2023-07-04  7:39 ` [PATCH v2 2/5] mdadm: fix 07revert-inplace ptest ovidiu.panait
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: ovidiu.panait @ 2023-07-04  7:39 UTC (permalink / raw)
  To: openembedded-core

From: Ovidiu Panait <ovidiu.panait@windriver.com>

Trying to run mdadm-ptest in a core-image-minimal build will result in:
root@qemux86-64:~# ptest-runner mdadm
START: ptest-runner
BEGIN: /usr/lib/mdadm/ptest
which: no lsblk in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin)
lsblk command not found!
DURATION: 0
END: /usr/lib/mdadm/ptest
2023-06-28T10:14
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Remove util-linux from RRECOMMENDS and only add util-linux-lsblk and
util-linux-losetup to RDEPENDS.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
---
v2 updates:
- add util-linux-losetup to RDEPENDS

 meta/recipes-extended/mdadm/mdadm_4.2.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb b/meta/recipes-extended/mdadm/mdadm_4.2.bb
index 14de9d88c2..bcc0175f67 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb
@@ -101,10 +101,9 @@ do_install_ptest() {
 }
 
 RDEPENDS:${PN} += "bash"
-RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs"
+RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs util-linux-lsblk util-linux-losetup"
 RRECOMMENDS:${PN}-ptest += " \
     coreutils \
-    util-linux \
     kernel-module-loop \
     kernel-module-linear \
     kernel-module-raid0 \
-- 
2.39.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-11 10:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04  7:39 [PATCH v2 1/5] mdadm: fix util-linux ptest dependency ovidiu.panait
2023-07-04  7:39 ` [PATCH v2 2/5] mdadm: fix 07revert-inplace ptest ovidiu.panait
2023-07-04  7:39 ` [PATCH v2 3/5] mdadm: fix segfaults when running ptests ovidiu.panait
2023-07-04  7:39 ` [PATCH v2 4/5] mdadm: skip running known broken ptests ovidiu.panait
2023-07-04  7:39 ` [PATCH v2 5/5] mdadm: re-add mdadm-ptest to PTESTS_SLOW ovidiu.panait
2023-07-11 10:57   ` [OE-core] " Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox