[meta-oe] ndctl: v63 -> v65

Submitted by Yongxin Liu on May 30, 2019, 5:51 a.m. | Patch ID: 161768

Details

Message ID 20190530055149.48837-1-yongxin.liu@windriver.com
State Changes Requested
Commit f3ff83f5315025b16b483bc093bf97d45d346505
Headers show

Commit Message

Yongxin Liu May 30, 2019, 5:51 a.m.
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} (87%)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-core/ndctl/ndctl_v63.bb b/meta-oe/recipes-core/ndctl/ndctl_v65.bb
similarity index 87%
rename from meta-oe/recipes-core/ndctl/ndctl_v63.bb
rename to meta-oe/recipes-core/ndctl/ndctl_v65.bb
index 61e53029b..8648ad580 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 = "virtual/kernel kmod udev json-c"
+DEPENDS = "virtual/kernel kmod udev json-c keyutils"
 
 S = "${WORKDIR}/git"
 
@@ -31,3 +31,5 @@  do_configure_prepend() {
 
 SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
 SYSTEMD_AUTO_ENABLE_${PN} = "disable"
+
+FILES_${PN} += "${datadir}/daxctl/daxctl.conf"

Comments

Khem Raj June 13, 2019, 11:05 p.m.
On Wed, May 29, 2019 at 11:02 PM Yongxin Liu <yongxin.liu@windriver.com> wrote:
>
> 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} (87%)
>
> diff --git a/meta-oe/recipes-core/ndctl/ndctl_v63.bb b/meta-oe/recipes-core/ndctl/ndctl_v65.bb
> similarity index 87%
> rename from meta-oe/recipes-core/ndctl/ndctl_v63.bb
> rename to meta-oe/recipes-core/ndctl/ndctl_v65.bb
> index 61e53029b..8648ad580 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 = "virtual/kernel kmod udev json-c"
> +DEPENDS = "virtual/kernel kmod udev json-c keyutils"

Please bring in the recipe for keyutils as well. Since its not in
OE-Core we should not depend
on other layers for this

>
>  S = "${WORKDIR}/git"
>
> @@ -31,3 +31,5 @@ do_configure_prepend() {
>
>  SYSTEMD_SERVICE_${PN} = "ndctl-monitor.service"
>  SYSTEMD_AUTO_ENABLE_${PN} = "disable"
> +
> +FILES_${PN} += "${datadir}/daxctl/daxctl.conf"
> --
> 2.14.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel