All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6.
@ 2019-07-08  1:52 Yongxin Liu
  2019-07-08  1:52 ` [meta-oe][PATCH v2 2/2] ndctl: v63 -> v65 Yongxin Liu
  2019-07-08  1:59 ` [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6 akuster808
  0 siblings, 2 replies; 6+ messages in thread
From: Yongxin Liu @ 2019-07-08  1:52 UTC (permalink / raw)
  To: raj.khem, openembedded-devel

Signed-off-by: Yongxin Liu <yongxin.liu@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
@@ -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"
-- 
2.14.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-oe][PATCH v2 2/2] ndctl: v63 -> v65
  2019-07-08  1:52 [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6 Yongxin Liu
@ 2019-07-08  1:52 ` Yongxin Liu
  2019-07-08  1:59 ` [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6 akuster808
  1 sibling, 0 replies; 6+ messages in thread
From: Yongxin Liu @ 2019-07-08  1:52 UTC (permalink / raw)
  To: raj.khem, openembedded-devel

Add keyutils to DEPENDS.
Set FILES to package /usr/share/daxctl/daxctl.conf.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
---
 meta-oe/recipes-core/ndctl/{ndctl_v63.bb => ndctl_v65.bb} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-core/ndctl/{ndctl_v63.bb => ndctl_v65.bb} (88%)

diff --git a/meta-oe/recipes-core/ndctl/ndctl_v63.bb b/meta-oe/recipes-core/ndctl/ndctl_v65.bb
similarity index 88%
rename from meta-oe/recipes-core/ndctl/ndctl_v63.bb
rename to meta-oe/recipes-core/ndctl/ndctl_v65.bb
index 2f299b1ba..69ee1d476 100644
--- a/meta-oe/recipes-core/ndctl/ndctl_v63.bb
+++ b/meta-oe/recipes-core/ndctl/ndctl_v65.bb
@@ -10,10 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e66651809cac5da60c8b80e9e4e79e08"
 
 inherit autotools-brokensep pkgconfig bash-completion systemd
 
-SRCREV = "cb2d678dd6d286dd96d31548c32449a8b883ae32"
+SRCREV = "ed17fd14608d8de072c8c090ffc5fcf78c4f48ff"
 SRC_URI = "git://github.com/pmem/ndctl.git"
 
-DEPENDS = "kmod udev json-c"
+DEPENDS = "kmod udev json-c keyutils"
 
 S = "${WORKDIR}/git"
 
@@ -28,3 +28,5 @@ do_configure_prepend() {
 
 SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
 SYSTEMD_AUTO_ENABLE_${PN} = "disable"
+
+FILES_${PN} += "${datadir}/daxctl/daxctl.conf"
-- 
2.14.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6.
  2019-07-08  1:52 [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6 Yongxin Liu
  2019-07-08  1:52 ` [meta-oe][PATCH v2 2/2] ndctl: v63 -> v65 Yongxin Liu
@ 2019-07-08  1:59 ` akuster808
  2019-07-08  2:03   ` Liu, Yongxin
  1 sibling, 1 reply; 6+ messages in thread
From: akuster808 @ 2019-07-08  1:59 UTC (permalink / raw)
  To: Yongxin Liu, raj.khem, openembedded-devel



On 7/7/19 6:52 PM, Yongxin Liu wrote:
> Signed-off-by: Yongxin Liu <yongxin.liu@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?

- 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"



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6.
  2019-07-08  1:59 ` [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6 akuster808
@ 2019-07-08  2:03   ` Liu, Yongxin
  2019-07-08  2:09     ` akuster808
  0 siblings, 1 reply; 6+ messages in thread
From: Liu, Yongxin @ 2019-07-08  2:03 UTC (permalink / raw)
  To: akuster808, raj.khem, openembedded-devel

> -----Original Message-----
> From: akuster808 [mailto:akuster808@gmail.com]
> Sent: Monday, July 8, 2019 09:59
> To: Liu, Yongxin; raj.khem@gmail.com; openembedded-
> devel@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@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.

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"


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6.
  2019-07-08  2:03   ` Liu, Yongxin
@ 2019-07-08  2:09     ` akuster808
  2019-07-08  4:39       ` Liu, Yongxin
  0 siblings, 1 reply; 6+ messages in thread
From: akuster808 @ 2019-07-08  2:09 UTC (permalink / raw)
  To: Liu, Yongxin, raj.khem, openembedded-devel



On 7/7/19 7:03 PM, Liu, Yongxin wrote:
>> -----Original Message-----
>> From: akuster808 [mailto:akuster808@gmail.com]
>> Sent: Monday, July 8, 2019 09:59
>> To: Liu, Yongxin; raj.khem@gmail.com; openembedded-
>> devel@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@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"



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6.
  2019-07-08  2:09     ` akuster808
@ 2019-07-08  4:39       ` Liu, Yongxin
  0 siblings, 0 replies; 6+ messages in thread
From: Liu, Yongxin @ 2019-07-08  4:39 UTC (permalink / raw)
  To: akuster808, raj.khem, openembedded-devel


> -----Original Message-----
> From: akuster808 [mailto:akuster808@gmail.com]
> Sent: Monday, July 8, 2019 10:09
> To: Liu, Yongxin; raj.khem@gmail.com; openembedded-
> devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH v2 1/2] keyutils: add new recipe for
> version 1.6.
> 
> 
> 
> On 7/7/19 7:03 PM, Liu, Yongxin wrote:
> >> -----Original Message-----
> >> From: akuster808 [mailto:akuster808@gmail.com]
> >> Sent: Monday, July 8, 2019 09:59
> >> To: Liu, Yongxin; raj.khem@gmail.com; openembedded-
> >> devel@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@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.

Thanks Armin. I will move it from meta-security to meta-oe.

--Yongxin

> 
> 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"


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-07-08  4:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08  1:52 [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6 Yongxin Liu
2019-07-08  1:52 ` [meta-oe][PATCH v2 2/2] ndctl: v63 -> v65 Yongxin Liu
2019-07-08  1:59 ` [meta-oe][PATCH v2 1/2] keyutils: add new recipe for version 1.6 akuster808
2019-07-08  2:03   ` Liu, Yongxin
2019-07-08  2:09     ` akuster808
2019-07-08  4:39       ` Liu, Yongxin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.