On Fri, Sep 23, 2022 at 12:56 PM Willy Tu <[email protected]> wrote:

> friendly ping (again), but this time with plain text only.
>

I think it should be done with packageconfig which is at recipe scope and
then in your own distro you could enable it via bbappend or via other
global knob if you wish so

Secondly lot of these seems to be something that devel package should have
already can you check that and ensure we are not double installing the
files


> Willy Tu
>
>
> On Thu, Sep 1, 2022 at 5:16 PM Willy Tu <[email protected]> wrote:
> >
> > Instal API only if opensshinternals is in DISTRO_FEATURES.
> >
> > Install the OpenSSH header + lib files for other repo to build using it.
> > For example, https://github.com/google/hiba is dependent on those files
> > to build and this change is needed to meet that requirement.
> >
> > https://github.com/openembedded/meta-openembedded/pull/597
> >
> > Signed-off-by: Willy Tu <[email protected]>
> > ---
> >  meta/recipes-connectivity/openssh/openssh_9.0p1.bb | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> >
> > diff --git a/meta/recipes-connectivity/openssh/openssh_9.0p1.bb
> b/meta/recipes-connectivity/openssh/openssh_9.0p1.bb
> > index b63ea2b137..84da118ca6 100644
> > --- a/meta/recipes-connectivity/openssh/openssh_9.0p1.bb
> > +++ b/meta/recipes-connectivity/openssh/openssh_9.0p1.bb
> > @@ -137,6 +137,17 @@ do_install:append () {
> >                 ${D}${sysconfdir}/init.d/sshd
> >
> >         install -D -m 0755 ${WORKDIR}/sshd_check_keys
> ${D}${libexecdir}/${BPN}/sshd_check_keys
> > +
> > +       if ${@bb.utils.contains('DISTRO_FEATURES', 'opensshinternals',
> 'true', 'false', d)}; then
> > +               install -d ${D}${includedir}/ssh
> > +               install -d ${D}${includedir}/ssh/openbsd-compat
> > +               install -m0644 ${S}/*.h ${D}${includedir}/ssh
> > +               install -m0644 ${S}/openbsd-compat/*.h
> ${D}${includedir}/ssh/openbsd-compat
> > +
> > +               install -d ${D}${libdir}
> > +               install -m0644 ${S}/libssh.a ${D}${libdir}
> > +               install -m0644 ${S}/openbsd-compat/libopenbsd-compat.a
> ${D}${libdir}
> > +       fi
> >  }
> >
> >  do_install_ptest () {
> > --
> > 2.37.2.789.g6183377224-goog
> >
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171002): 
https://lists.openembedded.org/g/openembedded-core/message/171002
Mute This Topic: https://lists.openembedded.org/mt/93875964/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to