From d8685320a4dd7bb4f125494dd1fd65ba648b5c21 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 29 Aug 2019 23:57:28 +0800 Subject: 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 Skip [build-deps] and [file-rdeps] QA checking, add lvm2 to DEPENDS will triger circular dependencies, use recipe libdevmapper to replace, ignore the QA checking is fine. Signed-off-by: Hongxu Jia Signed-off-by: Khem Raj --- meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-oe/recipes-crypto/cryptsetup') diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb index 6ebf1e279..194842ef8 100644 --- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb +++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb @@ -16,6 +16,10 @@ DEPENDS = " \ util-linux \ " +RDEPENDS_${PN} = " \ + libdevmapper \ +" + SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz" SRC_URI[md5sum] = "f7818082056e5bc0be12e4c7fc20345a" SRC_URI[sha256sum] = "9d8f8cac2836a1623c075b5cba96032271dc81a28b2aa27fbd8331e831416bb1" @@ -85,4 +89,6 @@ EXTRA_OECONF += "--disable-libargon2" 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" -- cgit v1.2.3-54-g00ecf