just for visibility.
On Fri, Oct 21, 2022 at 6:17 AM Willy Tu via lists.openembedded.org <wltu=google....@lists.openembedded.org> wrote: > > Install 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 <w...@google.com> > --- > 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.38.0.135.g90850a2211-goog > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#172017): https://lists.openembedded.org/g/openembedded-core/message/172017 Mute This Topic: https://lists.openembedded.org/mt/94475279/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-