From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 12 Mar 2024 17:47:49 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rk5I5-002ugH-16 for lore@lore.pengutronix.de; Tue, 12 Mar 2024 17:47:49 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rk5I4-0000ZR-NJ; Tue, 12 Mar 2024 17:47:48 +0100 Received: from mail.cab.de ([213.144.1.196]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rk5I1-0000Ur-Bt for ptxdist@pengutronix.de; Tue, 12 Mar 2024 17:47:45 +0100 X-cab-MailScanner-Watermark: 1710866861.19242@xDoPzMGDe/b1vw1hxDphig X-cab-MailScanner-From: m.heidelberg@cab.de X-cab-MailScanner: Found to be clean X-cab-MailScanner-ID: D36F3120150.A943B X-cab-MailScanner-Information: Please contact it@cab.de for more information Received: from Adranos.cab.de (unknown [10.10.1.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cab.de (Postfix) with ESMTPS id D36F3120150 for ; Tue, 12 Mar 2024 17:47:40 +0100 (CET) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.cab.de D36F3120150 Authentication-Results: vulcanos.cab.de; dmarc=none (p=none dis=none) header.from=cab.de Authentication-Results: vulcanos.cab.de; spf=none smtp.mailfrom=M.Heidelberg@cab.de DKIM-Filter: OpenDKIM Filter v2.11.0 mail.cab.de D36F3120150 Received: from KAN23-025.cab.de (10.100.0.22) by Adranos.cab.de (10.10.1.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 12 Mar 2024 17:47:27 +0100 From: Markus Heidelberg To: Date: Tue, 12 Mar 2024 17:46:42 +0100 Message-ID: <20240312164643.2452661-3-m.heidelberg@cab.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240312164643.2452661-1-m.heidelberg@cab.de> References: <20240312164643.2452661-1-m.heidelberg@cab.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.100.0.22] X-ClientProxiedBy: Adranos.cab.de (10.10.1.54) To Adranos.cab.de (10.10.1.54) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.8 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH oselas 2/3] host-system-rsync: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Markus Heidelberg Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Markus Heidelberg --- 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 +# +# 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