[oe] [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6.

akuster808 akuster808 at gmail.com
Mon Jul 8 02:09:01 UTC 2019



On 7/7/19 7:03 PM, Liu, Yongxin wrote:
>> -----Original Message-----
>> From: akuster808 [mailto:akuster808 at gmail.com]
>> Sent: Monday, July 8, 2019 09:59
>> To: Liu, Yongxin; raj.khem at gmail.com; openembedded-
>> devel at lists.openembedded.org
>> Subject: Re: [oe] [meta-oe][PATCH v2 1/2] keyutils: add new recipe for
>> version 1.6.
>>
>>
>>
>> On 7/7/19 6:52 PM, Yongxin Liu wrote:
>>> Signed-off-by: Yongxin Liu <yongxin.liu at windriver.com>
>>> ---
>>>  meta-oe/recipes-security/keyutils/keyutils_1.6.bb | 38
>> +++++++++++++++++++++++
>>>  1 file changed, 38 insertions(+)
>>>  create mode 100644 meta-oe/recipes-security/keyutils/keyutils_1.6.bb
>>>
>>> diff --git a/meta-oe/recipes-security/keyutils/keyutils_1.6.bb b/meta-
>> oe/recipes-security/keyutils/keyutils_1.6.bb
>>> new file mode 100644
>>> index 000000000..3a26c902a
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-security/keyutils/keyutils_1.6.bb
>> This recipe is in meta-security and contains ptests. Did you want the
>> ptests and other fixes too?
> This recipe is intended to be used by other recipes in OE.
> For other layers, I think they can use their own keyutils.

I mean, it should move out of meta-security to meta-oe.  And if you
don't want to do that, you should pick up the fixes.

Please have a look and compare.
http://git.yoctoproject.org/cgit/cgit.cgi/meta-security/tree/recipes-security/keyutils/keyutils_1.6.bb

- armin

>
> Thanks,
> Yongxin
>
>> - armin
>>> @@ -0,0 +1,38 @@
>>> +SUMMARY = "Linux Key Management Utilities"
>>> +DESCRIPTION = "These tools are used to control the key management
>> system built into the Linux."
>>> +
>>> +SECTION = "base"
>>> +
>>> +LICENSE = "LGPLv2.1+ & GPLv2.0+"
>>> +LIC_FILES_CHKSUM =
>> "file://LICENCE.GPL;md5=5f6e72824f5da505c1f4a7197f004b45 \
>>> +
>> file://LICENCE.LGPL;md5=7d1cacaa3ea752b72ea5e525df54a21f"
>>> +
>>> +PV = "1.6+git${SRCPV}"
>>> +
>>> +SRC_URI = "\
>>> +
>> git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git \
>>> +"
>>> +
>>> +SRCREV = "4723f0185d11b13df243ad3cd41fbddfed53b5b1"
>>> +
>>> +S = "${WORKDIR}/git"
>>> +
>>> +EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -Wall'"
>>> +
>>> +INSTALL_FLAGS = "\
>>> +    LIBDIR=${libdir} \
>>> +    USRLIBDIR=${libdir} \
>>> +    BINDIR=${bindir} \
>>> +    SBINDIR=${sbindir} \
>>> +    ETCDIR=${sysconfdir} \
>>> +    SHAREDIR=${datadir} \
>>> +    MANDIR=${mandir} \
>>> +    INCLUDEDIR=${includedir} \
>>> +    DESTDIR=${D} \
>>> +"
>>> +
>>> +do_install() {
>>> +    cd ${S} && oe_runmake ${INSTALL_FLAGS} install
>>> +}
>>> +
>>> +FILES_${PN} += "${datadir}/request-key-debug.sh"



More information about the Openembedded-devel mailing list