summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2023-07-04 10:39:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-10 11:36:34 +0100
commitf9e29f3f5dfeeab3c49b35ba2cc2840ed0c5e263 (patch)
tree36c2c42311a775ded48406c04be4d099121ff256 /meta/recipes-extended/mdadm
parent71eef513bb1c0e1c172618accda04597d4bafff7 (diff)
downloadpoky-f9e29f3f5dfeeab3c49b35ba2cc2840ed0c5e263.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: 3004f7589974c135cc82630d980ea281b97ecd83) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.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.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 \