diff options
| author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2023-07-04 10:39:15 +0300 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-08-02 04:47:13 -1000 |
| commit | 06416b34a077b53fd5d5995a730bedfa345214b6 (patch) | |
| tree | f200e1579f611a132fba5e5b5a93673f03d8ed67 | |
| parent | b1e2d14d880acd782a3bb95c02c1d89b28be2e4e (diff) | |
| download | poky-06416b34a077b53fd5d5995a730bedfa345214b6.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: 898b9add68d9c30c7c90285e659b128289313668)
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.bb | 3 |
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 4aa3737562..af486e6d9c 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.2.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb | |||
| @@ -99,10 +99,9 @@ do_install_ptest() { | |||
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | RDEPENDS:${PN} += "bash" | 101 | RDEPENDS:${PN} += "bash" |
| 102 | RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs" | 102 | RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs util-linux-lsblk util-linux-losetup" |
| 103 | RRECOMMENDS:${PN}-ptest += " \ | 103 | RRECOMMENDS:${PN}-ptest += " \ |
| 104 | coreutils \ | 104 | coreutils \ |
| 105 | util-linux \ | ||
| 106 | kernel-module-loop \ | 105 | kernel-module-loop \ |
| 107 | kernel-module-linear \ | 106 | kernel-module-linear \ |
| 108 | kernel-module-raid0 \ | 107 | kernel-module-raid0 \ |
