diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-08-27 10:20:30 +0800 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-08-27 10:50:37 +0800 |
commit | 23b208c08c73ca09e6c19fcf7bf1646a8400359b (patch) | |
tree | 94beb0e91590937170a100186714acc430e57b38 | |
parent | 93bba331667eccc67324860fecc51ca0a89a6535 (diff) | |
download | meta-secure-core-23b208c08c73ca09e6c19fcf7bf1646a8400359b.tar.gz |
cryptsetup_%.bbappend: move lvm2-udevrules from RDEPEND to RRECOMMENDS
when configuring lvm2 without udev, lvm2-udevrules package is empty,
causing do_rootfs failure.
Error:
ERROR: wrlinux-image-glibc-std-1.0-r5 do_rootfs: Function failed: do_rootfs
Problem: conflicting requests
- nothing provides lvm2-udevrules needed by cryptsetup-1.7.4-r0.corei7_64
Move lvm2-udevrules from RDEPEND to RRECOMMENDS could workaround the issue.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r-- | meta-encrypted-storage/recipes-support/cryptsetup/cryptsetup_%.bbappend | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-encrypted-storage/recipes-support/cryptsetup/cryptsetup_%.bbappend b/meta-encrypted-storage/recipes-support/cryptsetup/cryptsetup_%.bbappend index ed2dd1d..6367512 100644 --- a/meta-encrypted-storage/recipes-support/cryptsetup/cryptsetup_%.bbappend +++ b/meta-encrypted-storage/recipes-support/cryptsetup/cryptsetup_%.bbappend | |||
@@ -1 +1,2 @@ | |||
1 | RDEPENDS_${PN} += "lvm2 lvm2-udevrules" | 1 | RDEPENDS_${PN} += "lvm2" |
2 | RRECOMMENDS_${PN} += "lvm2-udevrules" | ||