From patchwork Tue Oct 8 10:22:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "alexander.heinisch" X-Patchwork-Id: 219 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 08 Oct 2024 12:23:25 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f57.google.com (mail-oo1-f57.google.com [209.85.161.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 498ANNtu023267 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 8 Oct 2024 12:23:24 +0200 Received: by mail-oo1-f57.google.com with SMTP id 006d021491bc7-5e1c6fa74easf1055096eaf.0 for ; Tue, 08 Oct 2024 03:23:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728382998; cv=pass; d=google.com; s=arc-20240605; b=HvsSKKx+aXnY7CJWqe6HM92GFZlNHj31PKvN7KfjCP/kN130rgdb1CdIeQgdsi2aOK A7Xu3eaPIEY0s97Ov7bX1DuiQKVY+//MHvXhuQ7yC4D0/eBag06s3acvkSptT/xoneJd 10nrJxq7WbZVU7GrtcURm4DRtUKD9dg16x556slXtccvnCpIz7pey4ClFRaQT31uO43H gg85kSZvHO9Xq2gnuvQzf/ZzmxHbkxV1HQQKken1ZxHLtcW1sHPEnZUkIinyoOrfIKbu 8L4ShRFeXfYh999J5wHCOe8zLmcY4bPsoQ7lyyzqD1YNh7wku7LhcSUHXr/C/zsvtSkv dZSw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=g9wHCjSB962zw4+oU+ZDZ5oU0DursLw5khkGt42fmks=; fh=AEYBxzAEiEE+CacljzKcRHFoqdJ4Ipzb6eXR031yPGY=; b=DlhaNQ2vgLy2XhsYKYUvjovcKfzckL7pyH8XWD4IGLyB8tiYDmoNK5qI0loW2Bqq76 2BxW74X2VddUgybGdzMTde1+wStyr49rR2wgfkOI5PsHlflwouVzPoO/Iv6ONJUIk/ql LCn+JS/+uPJi+mhgnt5UuI9tU4Fc0uwaOsIzx8gvl6AarEcnXbs1aRMoGc69EuukUxzz VmWZ/hzVWAdbUbJ/nHdY3C9bxB5VIrKk9Qp3T+CS2GqUUwlqomUo+pzWjzybVJuMfu/9 swLa4hvI4XDqpQlplckghLgV8e9d5rMXX3vKsSqKt9S9qpACx2zlDiSfU9CpjcamQiZ/ SPIA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=PmR0Ni1l; spf=pass (google.com: domain of fm-1326448-2024100810231411235a1bc28107b141-qnowia@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-2024100810231411235a1bc28107b141-QNowia@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=20230601; t=1728382998; x=1728987798; darn=isar-build.org; 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:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=g9wHCjSB962zw4+oU+ZDZ5oU0DursLw5khkGt42fmks=; b=Zre7uammzRbCOs+iwktaVfxJeuSB8egHSII3R30Q0pyzrVD/dfhMPTiS6x4jpF3/Pd I+FdGuOgmr+ZFsByky03qEngnKkgM3HrRqNcKF2uJ6+r3BzACdKAHT8tvjeqnQNtntMV fJarvEvsTwn0D5cxQ7+BzUmPDqvtrOIgWV0HKR1tNduqhv6R8JgoTNyLCGLo2ZHNdrZ9 hdXMBEuYmmmDTjE0Ic81upLm8oXr9lovQYwOLNqIMOZkVHeTVX5cT354lZeA0zBtwpSi 7juF2xWqRw/5gfs6mJiw8LX/M5xJvWOL+Wy8SAtywPxJIbdFuZUWwdIiIVXsrZe0ZfnW 62sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728382998; x=1728987798; 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:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=g9wHCjSB962zw4+oU+ZDZ5oU0DursLw5khkGt42fmks=; b=Bb+ebjNLpQQ6rUoUb2T0tBFLdXgv3fNjdSE+p+yc2SoeNVG4trgq07Ze+d/goEtR80 TSKV19MQVQohViF3oVlGpqrDtTE7WUGiQFniiPusNLhY4wmqcp27jCCqQmCkNR00z8TR 0HhLZZEVLNyiD29zcaMV923jBzMi1Rm5Utkc4l+hYAmLKPIsR+J8QUZgh06QqzK3wcMr h5DwbGTq4RoBQ+Y64SEIO9ysGkTZTc3sc5WxblPQQInxDLaY7TPR1dTaGz99weXk42qs Vt4hckyQTaIcF94WX/r7Ei3tB/m2krbVZr48l1Hf2VRhAtYS1wvxZ0r//nIK46c7uGjk HNVA== X-Forwarded-Encrypted: i=2; AJvYcCWZU2QmeUOlfFihuwaHzP90KS2AG4Foc/AJ7w8tqyTE3kl7rNV5mqzRaYtw/6bZjeC45HTDvlY=@isar-build.org X-Gm-Message-State: AOJu0YzKEwqlpLhu9pzXP9nc9MGlZwaDyJUuG3ipVGfO53VRG3nJ8Q1D Ai48PTTW1F/blTXksqF/Wowm8b7olM/R1LhFvl2IotlG2lOMlEdF X-Google-Smtp-Source: AGHT+IGLyOmbG/4rqgoMZd15xyIqroB1S5avw0TAX3rg5IztWXjJn+5BLxHac8eF4E/f94rqTXPzNw== X-Received: by 2002:a05:6820:2282:b0:5da:a26b:ce79 with SMTP id 006d021491bc7-5e7cc061745mr7708591eaf.3.1728382997852; Tue, 08 Oct 2024 03:23:17 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6820:1ca9:b0:5e7:c4ae:8aa4 with SMTP id 006d021491bc7-5e7c4ae9f97ls1439017eaf.1.-pod-prod-04-us; Tue, 08 Oct 2024 03:23:16 -0700 (PDT) X-Received: by 2002:a05:6808:ec4:b0:3e3:b30b:ab9f with SMTP id 5614622812f47-3e3c131e3e3mr10035108b6e.1.1728382996724; Tue, 08 Oct 2024 03:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728382996; cv=none; d=google.com; s=arc-20240605; b=gS+mM5VD4KpAJB08uiDjTrIF2HusuS0b4ZCwPhZhCJpD01ALhUpF+YdX+Y/ZJ6nDb4 c3dMRNY0CnKB7rmLpLErIm7eDgxlsFS3rz9KHUScGdbJ2Y3U6qtd0MyHFDYhiOZ2lmKo SAd93jcbuHFzq6b7dQRo56Ne104XwR7yTdzaowBk1AXCDqTePji+1RX6G4iau3Li6nqZ 6Qb1idVFCAMxp42nEKf7TKeMrwE+jEjPA4D7V3me5AsXYXMX7mtyFMi2ui5xEKI+CBHS +XxhrQ9QVRuYUF0sQJA/XkxJSywEpD6mJUeLeXIGB9koPA2bszBzZo5I4ujxpIS++tKt qUFw== 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:message-id:date :subject:cc:to:from:dkim-signature; bh=t1iC4eR3qsL5hzhJ6+dNhySk317+fXouaPj8Lrr9VTw=; fh=lKRNNdAU0IICONvfa+KjpneoIxBGWimmAGb9Xm7u9s8=; b=kA2tMwCdmhvqAyffZUOyxaN2XIdB/u0Cdpf7Tb25i4tE1pOVtrt/J+VgHJn2O8B8Uu 3qh9Jdm6ti5lyyHm78RYN3r3whE6tv0NiBFTPKkIEoFyD65g7bMECFzRcQyKLHMumTGC 6q0E9fW7jxwPKGCVy2hfk7WA/pdmsmp6oPCfsocWuuJbHzNsexcO3PAOs6qkA7dI6qs6 4hKDsep/ZTp27n21L7rAUdVPPdC4UMpAehFuh5r1PBmMx3m+bSECvvF0rS0kdTkl0UCS nJ6I85Io6B7DENKmjFSfbk3agW3a86ULUR+BzLb/i6/bIDefeAhsAOpJKrVTtEX2/ohl /+LQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=PmR0Ni1l; spf=pass (google.com: domain of fm-1326448-2024100810231411235a1bc28107b141-qnowia@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-2024100810231411235a1bc28107b141-QNowia@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net. [185.136.64.225]) by gmr-mx.google.com with ESMTPS id 46e09a7af769-715567cb8c4si333177a34.2.2024.10.08.03.23.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Oct 2024 03:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1326448-2024100810231411235a1bc28107b141-qnowia@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) client-ip=185.136.64.225; Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 2024100810231411235a1bc28107b141 for ; Tue, 08 Oct 2024 12:23:14 +0200 X-Patchwork-Original-From: "alexander.heinisch via isar-users" From: "alexander.heinisch" To: isar-users@googlegroups.com Cc: jan.kiszka@siemens.com, quirin.gylstorff@siemens.com, Alexander Heinisch Subject: [PATCH 0/2] Added unattended mode for deploy-image-wic installer script. Date: Tue, 8 Oct 2024 12:22:33 +0200 Message-ID: <20241008102235.34078-1-alexander.heinisch@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1326448:519-21489:flowmailer X-Original-Sender: alexander.heinisch@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=PmR0Ni1l; spf=pass (google.com: domain of fm-1326448-2024100810231411235a1bc28107b141-qnowia@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-2024100810231411235a1bc28107b141-QNowia@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: alexander.heinisch@siemens.com Reply-To: alexander.heinisch@siemens.com 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_H3,RCVD_IN_MSPIKE_WL, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Alexander Heinisch This patch series relys on "[PATCH 1/1] meta-isar: Split deploy image script and deploy image service" We are working on a target-bootstrapper to solve some of the issues stated here: https://groups.google.com/g/isar-users/c/ta0G_KGS_yU This patch enables mass rollouts of the installer via pxe/ipxe boot in downstream projects. The target-bootstrapper itself is not included here, and will be submitted separately, once matured enough! Alexander Heinisch (2): meta-isar: Added unattended mode for deploy-image-wic installer script. meta-isar: Unified variable names in deploy-image script. .../deploy-image/deploy-image_0.1.bb | 7 +- .../files/{ => usr/bin}/deploy-image-wic.sh | 86 +++++++++++-------- .../usr/lib/deploy-image-wic/handle-config.sh | 83 ++++++++++++++++++ 3 files changed, 136 insertions(+), 40 deletions(-) rename meta-isar/recipes-installer/deploy-image/files/{ => usr/bin}/deploy-image-wic.sh (58%) mode change 100644 => 100755 create mode 100644 meta-isar/recipes-installer/deploy-image/files/usr/lib/deploy-image-wic/handle-config.sh