summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2023-07-04 10:39:15 +0300
committerSteve Sakoman <steve@sakoman.com>2023-08-01 06:17:28 -1000
commit320e61a45a036d3f42e7f36a6387625214d9edfc (patch)
tree2088d1605e441ee82eca2b9b743d50d76807614a
parentb4a595d32ce66d312a11cc75625129089b95a5d5 (diff)
downloadpoky-320e61a45a036d3f42e7f36a6387625214d9edfc.tar.gz
mdadm: fix util-linux ptest dependency
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. (From OE-Core rev: 45bf9f5c18a1dec0d3c1a134285e71660dd9d890) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3004f7589974c135cc82630d980ea281b97ecd83) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.2.bb3
1 files changed, 1 insertions, 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() {
101} 101}
102 102
103RDEPENDS:${PN} += "bash" 103RDEPENDS:${PN} += "bash"
104RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs" 104RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs util-linux-lsblk util-linux-losetup"
105RRECOMMENDS:${PN}-ptest += " \ 105RRECOMMENDS:${PN}-ptest += " \
106 coreutils \ 106 coreutils \
107 util-linux \
108 kernel-module-loop \ 107 kernel-module-loop \
109 kernel-module-linear \ 108 kernel-module-linear \
110 kernel-module-raid0 \ 109 kernel-module-raid0 \