From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] openssh: Disable config check in installation.
Date: Sun, 9 Apr 2023 10:02:25 +0200 [thread overview]
Message-ID: <20230409080225.561083-1-christian.melki@t2data.com> (raw)
OpenSSH tries to run cross compiled target sshd on host
when installing. It uses the config validation function.
This gets an ugly install error (which ptxdist ignores?).
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
...0001-Makefile.in-Remove-check-config.patch | 25 +++++++++++++++++++
patches/openssh-9.3p1/series | 4 +++
2 files changed, 29 insertions(+)
create mode 100644 patches/openssh-9.3p1/0001-Makefile.in-Remove-check-config.patch
create mode 100644 patches/openssh-9.3p1/series
diff --git a/patches/openssh-9.3p1/0001-Makefile.in-Remove-check-config.patch b/patches/openssh-9.3p1/0001-Makefile.in-Remove-check-config.patch
new file mode 100644
index 000000000..572e3d883
--- /dev/null
+++ b/patches/openssh-9.3p1/0001-Makefile.in-Remove-check-config.patch
@@ -0,0 +1,25 @@
+From: Christian Melki <christian.melki@t2data.com>
+Date: Sat, 8 Apr 2023 10:12:02 +0200
+Subject: [PATCH] Makefile.in: Remove check-config.
+
+OpenSSH tries to run target sshd on host when cross compiling.
+This results in an install failure.
+
+Signed-off-by: Christian Melki <christian.melki@t2data.com>
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 70287f51fb81..0b131c92a781 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -377,7 +377,7 @@ distprep: catman-do depend-check
+ $(AUTORECONF)
+ -rm -rf autom4te.cache .depend.bak
+
+-install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config
++install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key
+ install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf
+ install-nosysconf: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
+
diff --git a/patches/openssh-9.3p1/series b/patches/openssh-9.3p1/series
new file mode 100644
index 000000000..b274d1052
--- /dev/null
+++ b/patches/openssh-9.3p1/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Makefile.in-Remove-check-config.patch
+# e29227a4207a58013be625ec869e9ca7 - git-ptx-patches magic
--
2.34.1
next reply other threads:[~2023-04-09 8:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-09 8:02 Christian Melki [this message]
2023-04-12 6:43 ` Michael Olbrich
2023-04-12 6:46 ` Christian Melki
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=20230409080225.561083-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/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