cryptsetup: add libdevmapper to RDEPENDS

Since commit [libdevmapper/lvm2: force recipe libdevmapper to populate
sysroot only] applied, if recipe DEPENDS on libdevmapper, we have to
add it to packages RDEPENDS to fix [file-rdeps] QA issue

Set PREFERRED_RPROVIDER_libdevmapper = "lvm2" in layer.conf to explicit
RDEPENDS on libdevmapper in cryptsetup

Suggested-by : peter.kjellerstedt@axis.com
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia
2019-08-30 18:26:10 +08:00
committed by Khem Raj
parent 7127971a48
commit 6a5d6bc9ad
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -33,6 +33,8 @@ LAYERSERIES_COMPAT_openembedded-layer = "thud warrior"
LICENSE_PATH += "${LAYERDIR}/licenses" LICENSE_PATH += "${LAYERDIR}/licenses"
PREFERRED_RPROVIDER_libdevmapper = "lvm2"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \ SIGGEN_EXCLUDERECIPES_ABISAFE += " \
mplayer-common \ mplayer-common \
fbset-modes \ fbset-modes \
@@ -89,6 +89,4 @@ EXTRA_OECONF += "--disable-libargon2"
FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}" FILES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf', '', d)}"
INSANE_SKIP_${PN} += "build-deps file-rdeps"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"