[oe] [meta-networking][PATCH] lksctp-tools: Add RRECOMENDS kernel-module-sctp for pkg lksctp-tools

Khem Raj raj.khem at gmail.com
Tue Dec 3 20:17:04 UTC 2019


On Tue, Dec 3, 2019 at 5:45 AM Pau Espin Pedrol <pespin at sysmocom.de> wrote:
>
> Previously the kernel module was only pulled in for ${PN}-utils and
> ${PN}-ptest, but not for the library itself. As a result, appsexternal
> to this recipe  using only the library fail because kernel module is
> not installed in the image.
> ---
>  .../recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb         | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb
> index 70cea6c7b..25270016d 100644
> --- a/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb
> +++ b/meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.18.bb
> @@ -12,6 +12,7 @@ SRCREV = "1b077af62d83d53c34b1bde8bad6648149d5edf9"
>
>  PV .= "+git${SRCPV}"
>  LK_REL = "1.0.18"
> +PR = "r1"

drop setting PR manually.

>
>  SRC_URI = " \
>      git://github.com/sctp/lksctp-tools.git \
> @@ -65,5 +66,6 @@ FILES_${PN}-dev += " \
>
>  FILES_${PN}-utils = "${bindir}/*"
>
> +RRECOMMENDS_${PN} += "kernel-module-sctp"
>  RRECOMMENDS_${PN}-utils += "kernel-module-sctp"
>  RRECOMMENDS_${PN}-ptest += "kernel-module-sctp"
> --
> 2.24.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list