All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andrey Zhizhikin" <andrey.z@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>,
	 Bruce Ashfield <bruce.ashfield@gmail.com>,
	Alexander Kanavin <alex.kanavin@gmail.com>
Subject: Re: [OE-core][PATCH] perl: add integer module required for kernel >= 5.14
Date: Mon, 30 Aug 2021 22:55:13 +0200	[thread overview]
Message-ID: <CAHtQpK4i=Kp-GC0u=C_b1YQh9xBEW7yiURnRkO9TV5+veAxRjA@mail.gmail.com> (raw)
In-Reply-To: <27aadf4835874e5117ea57ddcb26c07f73d2a7f4.camel@linuxfoundation.org>

Hello Richard,

On Mon, Aug 30, 2021 at 10:30 PM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Mon, 2021-08-30 at 20:05 +0000, Andrey Zhizhikin wrote:
> > Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at
> > build time instead of shipping them") uses perl to generate assembler
> > files for crypto functionality, which relies on the integer.pm module to
> > be provided.
> >
> > Add this module to FILES and export it for build system.
> >
> > Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
> > Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
> > Cc: Alexander Kanavin <alex.kanavin@gmail.com>
> > ---
> >  meta/recipes-devtools/perl/perl_5.34.0.bb | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/meta/recipes-devtools/perl/perl_5.34.0.bb b/meta/recipes-devtools/perl/perl_5.34.0.bb
> > index ab19a8d0be0..7a07b3f4911 100644
> > --- a/meta/recipes-devtools/perl/perl_5.34.0.bb
> > +++ b/meta/recipes-devtools/perl/perl_5.34.0.bb
> > @@ -248,6 +248,7 @@ FILES:${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/
> >                 ${libdir}/perl5/${PV}/strict.pm \
> >                 ${libdir}/perl5/${PV}/warnings.pm \
> >                 ${libdir}/perl5/${PV}/warnings \
> > +               ${libdir}/perl5/${PV}/integer.pm \
> >                 ${libdir}/perl5/${PV}/vars.pm \
> >                 ${libdir}/perl5/site_perl \
> >                 ${libdir}/perl5/${PV}/ExtUtils/MANIFEST.SKIP \
>
> Doesn't that mean something is missing an RDEPENDS on perl-module-integer rather
> than adding to the main perl package?

Good point! Now that I look at it - this does look a bit too intrusive
(even though it did serve the purpose).

I'm just not sure if I can craft it to RDEPENDS in kernel class instead...

This is definitely required by newer kernel builds (>= 5.14), but I'm
no expert in how those dependencies are set in kernel class. Would
need to look a bit deeper there.

>
> Cheers,
>
> Richard
>

--
Regards,
Andrey.

  reply	other threads:[~2021-08-30 20:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 20:05 [OE-core][PATCH] perl: add integer module required for kernel >= 5.14 Andrey Zhizhikin
2021-08-30 20:30 ` Richard Purdie
2021-08-30 20:55   ` Andrey Zhizhikin [this message]
2021-08-30 21:12     ` Bruce Ashfield
2021-08-31  9:53       ` Andrey Zhizhikin
2021-08-31 10:03         ` Richard Purdie
2021-08-31 11:54           ` Andrey Zhizhikin
2021-08-31 12:19             ` Richard Purdie
2021-08-31 12:29               ` Andrey Zhizhikin
     [not found]               ` <16A063FA1B833076.30479@lists.openembedded.org>
2021-08-31 13:26                 ` Andrey Zhizhikin
2021-08-31 13:41                   ` Richard Purdie
2021-08-31 13:51                     ` Andrey Zhizhikin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHtQpK4i=Kp-GC0u=C_b1YQh9xBEW7yiURnRkO9TV5+veAxRjA@mail.gmail.com' \
    --to=andrey.z@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.