From: Markus Heidelberg <m.heidelberg@cab.de>
To: <ptxdist@pengutronix.de>
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: [ptxdist] [PATCH oselas 2/3] host-system-rsync: new package
Date: Tue, 12 Mar 2024 17:46:42 +0100 [thread overview]
Message-ID: <20240312164643.2452661-3-m.heidelberg@cab.de> (raw)
In-Reply-To: <20240312164643.2452661-1-m.heidelberg@cab.de>
Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---
rules/host-system-rsync.in | 4 ++++
rules/host-system-rsync.make | 26 ++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 100644 rules/host-system-rsync.in
create mode 100644 rules/host-system-rsync.make
diff --git a/rules/host-system-rsync.in b/rules/host-system-rsync.in
new file mode 100644
index 0000000..1c61a56
--- /dev/null
+++ b/rules/host-system-rsync.in
@@ -0,0 +1,4 @@
+## SECTION=hosttools_noprompt
+
+config HOST_SYSTEM_RSYNC
+ tristate
diff --git a/rules/host-system-rsync.make b/rules/host-system-rsync.make
new file mode 100644
index 0000000..f03154a
--- /dev/null
+++ b/rules/host-system-rsync.make
@@ -0,0 +1,26 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Markus Heidelberg <m.heidelberg@cab.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_SYSTEM_RSYNC) += host-system-rsync
+HOST_SYSTEM_RSYNC_LICENSE := ignore
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-system-rsync.prepare:
+ @$(call targetinfo)
+ @echo "Checking for rsync ..."
+ @rsync --version >/dev/null 2>&1 || \
+ ptxd_bailout "'rsync' not found! Please install.";
+ @$(call touch)
+
+# vim: syntax=make
--
2.34.1
next prev parent reply other threads:[~2024-03-12 16:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 16:46 [ptxdist] [PATCH oselas 0/3] Add missing host-system dependencies Markus Heidelberg
2024-03-12 16:46 ` [ptxdist] [PATCH oselas 1/3] cross-gdb: system python3 development files are needed Markus Heidelberg
2024-03-12 16:46 ` Markus Heidelberg [this message]
2024-03-12 16:46 ` [ptxdist] [PATCH oselas 3/3] kernel-headers: rsync is needed to install sanitized headers Markus Heidelberg
2024-08-02 12:38 ` [ptxdist] [PATCH oselas 0/3] Add missing host-system dependencies Roland Hieber
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=20240312164643.2452661-3-m.heidelberg@cab.de \
--to=m.heidelberg@cab.de \
--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