From: "Willy Tu" <wltu@google.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] openssh: Install internal header/lib files
Date: Fri, 21 Oct 2022 06:17:06 -0700 [thread overview]
Message-ID: <IAS2.1666358226748943797.wkAx@lists.openembedded.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]
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 <wltu@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
[-- Attachment #2: Type: text/html, Size: 2388 bytes --]
next reply other threads:[~2022-10-21 13:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-21 13:17 Willy Tu [this message]
2022-10-21 13:19 ` [OE-core] [PATCH] openssh: Install internal header/lib files Willy Tu
2022-10-21 14:59 ` Ross Burton
2022-10-21 16:22 ` Willy Tu
[not found] ` <CABC0sH3LFm48+buev6gFFAAoDT2SLqR-r-rndSjx+eU54H5=1w@mail.gmail.com>
2022-10-24 16:04 ` Willy Tu
[not found] ` <17210CE2C7C78501.808@lists.openembedded.org>
2022-10-24 17:07 ` Willy Tu
[not found] ` <17211049B04D4148.10479@lists.openembedded.org>
2022-10-31 15:42 ` Willy Tu
[not found] ` <172331B40D5EBCA0.9941@lists.openembedded.org>
2022-11-08 16:23 ` Willy Tu
2022-11-08 16:27 ` Alexander Kanavin
2022-11-08 17:08 ` Willy Tu
2022-11-08 17:11 ` Alexander Kanavin
2022-11-08 17:16 ` Willy Tu
[not found] ` <CABC0sH0DjvXC4Hw7CxM__spomLbN1ntEsV03-CQ=3OgLLDakLg@mail.gmail.com>
2022-11-08 19:21 ` Alexander Kanavin
[not found] ` <1725B2503015CF3E.24882@lists.openembedded.org>
2022-11-08 19:25 ` Alexander Kanavin
2022-11-08 19:30 ` Willy Tu
2022-11-08 19:37 ` Alexander Kanavin
2022-11-08 20:20 ` Willy Tu
2022-10-21 16:24 ` Michael Opdenacker
2022-10-24 14:27 ` Willy Tu
[not found] ` <1721078C03B5AEB6.808@lists.openembedded.org>
2022-10-24 14:38 ` Willy Tu
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=IAS2.1666358226748943797.wkAx@lists.openembedded.org \
--to=wltu@google.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox