[oe] [meta-oe][PATCH V2] cryptsetup: add libdevmapper to RDEPENDS
Hongxu Jia
hongxu.jia at windriver.com
Thu Aug 29 15:53:23 UTC 2019
On 8/29/19 9:44 PM, Khem Raj wrote:
> https://errors.yoctoproject.org/Errors/Details/266491/
Sorry for the error again, I could not reproduce the issue on my build,
indeed,
ignoring both of the QA test is no harm for cryptsetup.
V3 incoming, sorry again :(
//Hongxu
>
> On Tue, Aug 27, 2019 at 6:24 PM Hongxu Jia <hongxu.jia at windriver.com> wrote:
>> 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] 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 <hongxu.jia at windriver.com>
>> ---
>> meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.2.0.bb | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> 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 6ebf1e2..eb155e1 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"
>> +
>> BBCLASSEXTEND = "native nativesdk"
>> --
>> 2.7.4
>>
More information about the Openembedded-devel
mailing list