From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 23 Mar 2026 11:53:51 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f55.google.com (mail-wm1-f55.google.com [209.85.128.55]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 62NAromn030975 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 23 Mar 2026 11:53:50 +0100 Received: by mail-wm1-f55.google.com with SMTP id 5b1f17b1804b1-486fc42c83asf35873375e9.0 for ; Mon, 23 Mar 2026 03:53:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1774263225; cv=pass; d=google.com; s=arc-20240605; b=Cp2CvtZWRg4Ee80AEVKqcxLEzSTfrRSDAUwSDx3qNxwaRIYijW8red07FB3TuUa6dc 8YIGpPcyh9mmd4M2CqqnhfYvKvNBg46R7ClF1FLk7Al+kQR0gcFbh88fhsrPC6Zg4p0+ 4hpA4nenMQQhF76wTE2vjT6J293aVlYT58taTynduaEhtcskKXaTT7BsakUI7QSa0Wzg Z/qmIOP+OWUEA3LlnT7SwzVes0KE2lvmjaZYeNHK7cVrvcJqQqEuQfvtTeakUpIW2LVe hWTXqEbEuz8ZlreSlDEZ6lH/Tc8y/v5QqUBGhzD5uUkxHGdeH6QoRXGHQ/yA0XFTBbrN 1lbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=udKoXCu17GTtBzTaMq+4lpy2vMcy5hTBUHR3qFXZpS0=; fh=YpOY1QBtb65+Ao16hQ6t9J9wUhA65aqc7JtxsvePE5c=; b=IW/VqSQa02TSWHfWueGOA1TFkWHKZMewGbVFJTFQHj8Q3N0T5iFix52QEngc0/HMKz /oZNf+w4kAelbkhGcIit9Va0xinpwOD7E7aOXWMvzwALaeDIO2tjeDRFAspEFeUCv+/E Vp3Ad7IiLaVkEWYzUlqwbY1QUBtEi0/HE06wjyc7w9MS9RQWXidu3rXjTOS6ylIzAazp vIP/SO+ffRuGae1ZGRfJQVuJNT8Ghmrr1iSvDfiwAMVbIEfn6ete7bBRPkL9DUYS/2hJ vsIV/CDziNXIOz9v78ckBk3SNLcaV35Oq8QJ2VKeSsHx0RmxUc75F+vtqfBiQ1fRj0gc UnoA==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=Q9iZQuJJ; spf=pass (google.com: domain of fm-51332-202603231053417e59dd3c4d00020735-ktmqe3@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-51332-202603231053417e59dd3c4d00020735-KtmQe3@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1774263225; x=1774868025; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=udKoXCu17GTtBzTaMq+4lpy2vMcy5hTBUHR3qFXZpS0=; b=Ubup4ks8oaB4O/TpO4uEfK6rJ2AzAAlo3M0KhULwrjI5TmgaIwHgI4wnDU2sG9o2+3 S1UlvbabW6Ii/2Gfr/+8rfNbSDrvVXxG2XRCrhh9laPdVShUMzEV9oEeP+aQ/Tj0OcYG frtneuf35a3X6A47rZust2cgRkFsZUDPC6QdMBQ+q4w3TPG7/8nCTqT+hH/9QCa5ywUu 27i2D9+WJgbuNdv8liQfzP6auABhEKyBL2mvMbx2lDTZXAsSUMo0ow40IS6vIt9JL5zA zBR3uDe8WcOrYXegNxZZwAqTNSUnyCFuJYKqPCig7UfqN8jigZsC2JFPw+XsIllwOc0t bAHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774263225; x=1774868025; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=udKoXCu17GTtBzTaMq+4lpy2vMcy5hTBUHR3qFXZpS0=; b=iCxFBeNw0x4jdmTdUsEo3Wd7JYDbWon5hJ/tr6cPb4GTgZ77UpcGBKlcP7fIfzyDQM M8jfQd16xfeHpx21ST3RKSDHVnOLFFI5dkmRNDSiiXu4Z/Mbf9ZPLsuOOvOPh4Vn2PQf eR/uDWe9zlvtVJ7RtNtn5LKHlh9Eem0YbHxU0hJXvyMlC/VEWwHqn+HvN0fHecJO9dXK 9ynW+6OlfKReQjsJeIDU9/KGFjIMZZpJ1eylSowKqekaJ+9P1IOxxo7U8B7MNZzrDJNe udNU9Lq1W1wgQtQyx+AUsGEPIKFtXU5U+MKFrGYawk3L1nBpHvBA70JWtU/Nv/pBBd2Q BQJQ== X-Forwarded-Encrypted: i=2; AJvYcCW8p+CuAmtgTipfNFQ/L3vSx8olJqwU2oNshb6m6YB3TZ2MldXUKb0OkGTrKrYKo22Rz+J2@ilbers.de X-Gm-Message-State: AOJu0YyOo2rIbdP8zUiUsW/AOq30zhi6n9RQWLMr6hWFZD3K9YBce6Y2 DPKihsMfBbO1bHyvNJgZRUmBhZBNKTWjFGK/dfXtsZxzfHopVA3UTHvz X-Received: by 2002:a05:600c:474f:b0:477:7bca:8b34 with SMTP id 5b1f17b1804b1-486fedab2edmr165845285e9.6.1774263224502; Mon, 23 Mar 2026 03:53:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AV1CL+Fhvbdgo4sJOAiTRmt4PtpVSnbIXhnth4JNiEemjVTobA==" Received: by 2002:a05:600c:1d25:b0:485:3f21:7f96 with SMTP id 5b1f17b1804b1-486f927d9afls33496835e9.1.-pod-prod-07-eu; Mon, 23 Mar 2026 03:53:42 -0700 (PDT) X-Received: by 2002:a05:600c:47ca:b0:487:169:9f64 with SMTP id 5b1f17b1804b1-4870169a1eemr83754935e9.12.1774263222340; Mon, 23 Mar 2026 03:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774263222; cv=none; d=google.com; s=arc-20240605; b=ACxNhE+Xe+cmNsWjliGVnbCXfXxrxw8GMmRYSYf6RJ0xcXzqj0vYZX2vuKl1H49m/P fdziAj6qf+ZCU7ELcocwBoXLPArYQmENIy3MNGecxC+L32V/w34AlP/ojQdSiGif3FCc cstHFhOmJAvlBfp84EPUfBicSEvAFd27roMgNjVsek7aR3HgsGExdJed9/ESOilu1GqI XVoEaw43SCxLBDQQLJso/60pAkN96oOrbbb2ZSxos8flJHA/rbr2THW17HF4JDQJxszn FjfHo0l3rW4f+B3pYkF79oMDJzs+CXG6t5TQ96Ai0+WF8AXFbZdSz50jv9Y/wLjai4qY s0lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:to:from:dkim-signature; bh=3s2tMv+CkeeGW9vUFGjUq9un5XZBhC3iDm6YZLEfhok=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=OmJjpMzfFNHede7PiTycGKblAce0UqC7ZFSTmuYL6J06Y17itihqSlxQmFKqIVGHFY 1gKDuIoNcu40MjVKFCvb1fO71dRkcN0rvtqfXetW8QgU61vc3Rcz8UeC+bia5qCCpKy8 YTAw1nACaMxZAzvGMzsb7ExLnkMvcOL1e/igwZgBMIfHMVwDuStGH++LY4ReO7BWn59l Q1z7USRwbyHmo9brepNLcNrf+3F1rP4spn7QpWzmm27h8Zg7ZUuA1hooeQts269tl4Ym aI69l83gM7wanqbcAHehX/5p6s0e8J+0u0JJluRvqvjx4gIrnolvruu3VFqOcCPnc/cC cTuw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=Q9iZQuJJ; spf=pass (google.com: domain of fm-51332-202603231053417e59dd3c4d00020735-ktmqe3@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-51332-202603231053417e59dd3c4d00020735-KtmQe3@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-486f8aacd4dsi2580435e9.0.2026.03.23.03.53.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2026 03:53:42 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-51332-202603231053417e59dd3c4d00020735-ktmqe3@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 202603231053417e59dd3c4d00020735 for ; Mon, 23 Mar 2026 11:53:41 +0100 From: "'Quirin Gylstorff' via isar-users" To: isar-users@googlegroups.com Subject: [RFC PATCH 2/3] Add example of a rust hello world as isar recipe Date: Mon, 23 Mar 2026 11:52:29 +0100 Message-ID: <20260323105332.2721282-3-Quirin.Gylstorff@siemens.com> In-Reply-To: <20260323105332.2721282-1-Quirin.Gylstorff@siemens.com> References: <20260323105332.2721282-1-Quirin.Gylstorff@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-51332:519-21489:flowmailer X-Original-Sender: quirin.gylstorff@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=Q9iZQuJJ; spf=pass (google.com: domain of fm-51332-202603231053417e59dd3c4d00020735-ktmqe3@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-51332-202603231053417e59dd3c4d00020735-KtmQe3@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Quirin Gylstorff Reply-To: Quirin Gylstorff Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: M52ef/qnNnmj From: Quirin Gylstorff Signed-off-by: Quirin Gylstorff --- .../recipes-app/rust-hello-isar/files/rules | 27 +++++++++++++++++++ .../files/rust-hello-isar/Cargo.toml | 6 +++++ .../files/rust-hello-isar/src/main.rs | 3 +++ .../rust-hello-isar/rust-hello-isar_0.1.bb | 22 +++++++++++++++ 4 files changed, 58 insertions(+) create mode 100755 meta-isar/recipes-app/rust-hello-isar/files/rules create mode 100644 meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/Cargo.toml create mode 100644 meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/src/main.rs create mode 100644 meta-isar/recipes-app/rust-hello-isar/rust-hello-isar_0.1.bb diff --git a/meta-isar/recipes-app/rust-hello-isar/files/rules b/meta-isar/recipes-app/rust-hello-isar/files/rules new file mode 100755 index 00000000..213cc876 --- /dev/null +++ b/meta-isar/recipes-app/rust-hello-isar/files/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk +include /usr/share/rustc/architecture.mk +export DEB_HOST_RUST_TYPE +export PATH:=/usr/share/cargo/bin:$(PATH) +export CARGO=/usr/share/cargo/bin/cargo +export CARGO_HOME=$(CURDIR)/debian/cargo_home +export CARGO_REGISTRY=$(CURDIR)/debian/cargo_registry +export DEB_CARGO_CRATE=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM) + +%: + dh $@ --buildsystem=cargo + +execute_after_dh_auto_clean: + $(CARGO) clean + rm -rf $(CARGO_HOME) + rm -rf $(CARGO_REGISTRY) + rm -f debian/cargo-checksum.json + +execute_before_dh_auto_configure: + $(CARGO) prepare-debian $(CARGO_REGISTRY) --link-from-system + rm -f Cargo.lock + touch debian/cargo-checksum.json + diff --git a/meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/Cargo.toml b/meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/Cargo.toml new file mode 100644 index 00000000..f761691e --- /dev/null +++ b/meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "rust-hello-isar" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/src/main.rs b/meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/src/main.rs new file mode 100644 index 00000000..50469bdf --- /dev/null +++ b/meta-isar/recipes-app/rust-hello-isar/files/rust-hello-isar/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, isar!"); +} diff --git a/meta-isar/recipes-app/rust-hello-isar/rust-hello-isar_0.1.bb b/meta-isar/recipes-app/rust-hello-isar/rust-hello-isar_0.1.bb new file mode 100644 index 00000000..2d57b8c8 --- /dev/null +++ b/meta-isar/recipes-app/rust-hello-isar/rust-hello-isar_0.1.bb @@ -0,0 +1,22 @@ +# Sample application +# +# This software is a part of ISAR. +# Copyright (C) 2026 Siemens AG + +inherit dpkg + +DESCRIPTION = "Hello world example for Rust" +MAINTAINER = "isar-users " + +SRC_URI = "file://${PN} \ + file://rules" + +DEBIAN_BUILD_DEPENDS += "dh-cargo" + +S = "${WORKDIR}/${PN}" + +do_prepare_build() { + deb_debianize + install -m 644 ${WORKDIR}/rules ${S}/debian/rules +} + -- 2.53.0 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260323105332.2721282-3-Quirin.Gylstorff%40siemens.com.