From patchwork Thu Dec 12 12:53:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "alexander.heinisch" X-Patchwork-Id: 234 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Thu, 12 Dec 2024 13:54:07 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pf1-f189.google.com (mail-pf1-f189.google.com [209.85.210.189]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4BCCs5jQ003836 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 12 Dec 2024 13:54:06 +0100 Received: by mail-pf1-f189.google.com with SMTP id d2e1a72fcca58-725e81ccf17sf567631b3a.0 for ; Thu, 12 Dec 2024 04:54:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1734008040; cv=pass; d=google.com; s=arc-20240605; b=Lq8Q1noEozweaB5zzDPbmTqwdZxmRaImceKI02f5YYQv1mM3vqKSD70B7hIZiySuW2 qVKFHZRx9gFXCB6AopmnmHt02WeFGBo6imGEOk2SDGjwWrrwuIsWBbdTjYesfHRqBbtB qVOof3CP7xaDvjh3syxBbsF9cCin7iSZvpdUVVHGfBOC8TLDf//gnzg6NAz0+Y1gjHcY cMDJfT3OgwpFYg4ZMbDwO81BYLYEykJFFyVga3VK6EOPKCYg3aV6lZD+GZLe54xM9QWo MdgIjBuxIx/dFzw4WEZ3IUWWQST4BVOxOzPlehFnjqyfn02x5kKBIMEGnPR6hqoqn/GV /SvA== 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=Vg53qAyLR5pgugzUsNhy97c0ggq0a2okVmcAo4aRCTQ=; fh=d0pZDpZ8FP3S6SvYJO/3NycWxFL7+yUz1ezyNCRENsQ=; b=Z8EymbgxyyFiIdhxBj18ssZLg46noH+Znn06ie2QO5ONIMHTqV+hKby+0ETXIJmIBW vQ79uIrO8E7IQtbr0e2D8AFRUSAfuQkBnKgdV5Jx6OzmdEeToG1LwkboPSNDR2F9qfu0 wXHr8zd7i5jYzQvdehY9tUy9g7G0kka2weV9e5m+cHABKHd5/6Vf3c2EOdsGmf9Ns2CW QTbwJKXYyeXnJPTafavyxpsu01NKRdE3gy6p30i6ZomY4RjNb6rHqw0mMpjfBUN0QXh3 2/YYRu7w1ORCHubFp8bZBnlLjeF63M2gwKIWAS3sncwjcrhEVnew7ZXX3FQZJUL2BDP+ o4+A==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=f9EqJ9t5; spf=pass (google.com: domain of fm-1326448-20241212125355bb8a2b54dc1486cc14-e7w7tw@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1326448-20241212125355bb8a2b54dc1486cc14-E7w7TW@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=1734008040; x=1734612840; 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=Vg53qAyLR5pgugzUsNhy97c0ggq0a2okVmcAo4aRCTQ=; b=i5blS7U0/QyNnUcISq+CkFADJwFTF3DQ1NJjSMSAjZhF4Qktmcw9LUZXPHa7VQW2hV u6AQ5ew3ir74CCRePtYlwPu/prG2vlZ1dawd9TTd60YYrtvBx3Q/grGPWMOzwbNbiaIm 8DPcMoGrzmMqhux3OzoKZZg8/jKBse9VL+KFM0uExdZPhfsmhO6V6BJyYnm5APGLJwnG uYxm2sNqkmIoTSlnCs8+GSHZZCK3zl/rzY3cd39kAwnUhEB3PIK6MzGbICy8uDV6IRH7 IGW/wSC01GcAsa9ZHK0tjlObxlbmwzyM74FczhrJk2Pq85zmoMReR2FjcpGamNbxRiap JvMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734008040; x=1734612840; 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=Vg53qAyLR5pgugzUsNhy97c0ggq0a2okVmcAo4aRCTQ=; b=GOORshAGhogC71idSE2bwXMcTEtBwKXrJPY5zWUipHudJsP0eBT+w95aFC9gRO1YLz OY6/IbUFSs/yahm4/GmkKPeKSPOBLmGbXCz8o+iu1v7eYZrtM/R36R87xi6DLIGG9GIJ UFRe2wRdb0F8c2VV3zr9ES9V8WIpGz1aznu8D+j8BLTrMnIBVwgKPFqWvPq0b0b+FoFi JFDQydINIfQrcE583SDSQMIrJknKkf1af6U2HftcbXneWAjZ/TPo9m9zKV3Kj5lJUwd6 uXBRBcgMWHbUZUI1ungiDDCshl0cxrx3kA3YjOHOqfjg/dNgX0PW28tHUi1AhTNJP8jF l2JQ== X-Forwarded-Encrypted: i=2; AJvYcCV3/Y4YTupQpGupKTC+gL5rXD771YKgXa64alZ8zc0aNcWDHMMX/qcea8VoFLDxk9ic/SqXGDM=@isar-build.org X-Gm-Message-State: AOJu0Yw/kRlWzNf3IJp/02MAkKhlsqAzJikpWAbj3rTzY5koqd2pNShy ztv5o+DbxdfQME+52zel+Nhnyr3ROvUoAjqHPbRbU3J6JweYDPYN X-Google-Smtp-Source: AGHT+IHtGytdMz6/oqwlnazp5acw97rbhlxGMRPSTiYicHDkjC3QYVZH+3zT42DtRgtS0hi5eXWT8g== X-Received: by 2002:a05:6a00:418f:b0:725:b347:c3cc with SMTP id d2e1a72fcca58-72906cf0ab6mr263693b3a.23.1734008039752; Thu, 12 Dec 2024 04:53:59 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6a00:4192:b0:729:597:4fb0 with SMTP id d2e1a72fcca58-72905977cb6ls113872b3a.1.-pod-prod-04-us; Thu, 12 Dec 2024 04:53:58 -0800 (PST) X-Received: by 2002:a05:6a21:7807:b0:1e1:ae9a:6316 with SMTP id adf61e73a8af0-1e1dac218fcmr191652637.35.1734008038087; Thu, 12 Dec 2024 04:53:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734008038; cv=none; d=google.com; s=arc-20240605; b=DFjbweheQX67MBc1WA8NxMoyypxefRVda2lYzgNC35TsTQfZWkGs3Jk2ZqxrPEwqgJ GhajqKjBXLo1K7cStzrSvn9WHvfcB4E+hv2gL+3Wp3iTfE0tgzNTCHpy6IFboV6QYiKc s/ZQJGxRgd06qK19iQPUoDw7A6cSlHmdnPXJAZQn+tusUP57OsNgPAsB5tT3M1XLZRnZ QlL755TlGcDqxGuOnqceLxmXargJ6nUC8UbCKOTDPNSCm/zPlAoUOt8xHfHt+/Gq9De1 4nuhcKBDQBh1+Ws72OHoUC4da4/bV/t0hNqESxcRY1NILOjmslwe/8KuBUhyFph+E+1G 8wHg== 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=h00vww1qc+/W7BPTi70a/VZ7BJtW+e5dW0jyGiCiLMU=; fh=8QWtUpqP60l2J4iCqh8UnyHHQEjCwckEBR+rhHx1FrU=; b=ftwCsNaATkVxWHkMxZyv6QTwvEaJhNjRCcTKyrtjAwS7VIa9ubE1rykUe4n01EJyGt grOWLcco5U5L7bbBxGWgFYIcl00JeHVcizNBWkzqcH6+bl5Roa859lEwZdg8XsdnWqGk Q446Qw6mLfBEDXyq2+jXUgXNbUjGkY2EmfB2z/Ru70T4JlD7ZQZijQD/YTVHWS3W5cdL T05DUDAgEgGFByk1JzTmKS6fWi0/tp556GWtmVYOd3WBIuB/s/I24I/nKcYKbP2EK8O0 RxvyTHh5j+g+Q+DkA2Oxcj48+6TabNhSJ9qHsHgZfSJPg5HC8y8nP2C8TJ8f/E5xdtfG f5mQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=f9EqJ9t5; spf=pass (google.com: domain of fm-1326448-20241212125355bb8a2b54dc1486cc14-e7w7tw@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1326448-20241212125355bb8a2b54dc1486cc14-E7w7TW@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 d2e1a72fcca58-728f1824724si164493b3a.6.2024.12.12.04.53.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Dec 2024 04:53:58 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1326448-20241212125355bb8a2b54dc1486cc14-e7w7tw@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 20241212125355bb8a2b54dc1486cc14 for ; Thu, 12 Dec 2024 13:53:55 +0100 X-Patchwork-Original-From: "alexander.heinisch via isar-users" From: "alexander.heinisch" To: isar-users@googlegroups.com, amikan@ilbers.de Cc: Alexander Heinisch Subject: [PATCH v2 0/2] isar-installer: Added option to add additional kernel cmdline arguments for isar-image-installer. Date: Thu, 12 Dec 2024 13:53:45 +0100 Message-ID: <20241212125347.76001-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=f9EqJ9t5; spf=pass (google.com: domain of fm-1326448-20241212125355bb8a2b54dc1486cc14-e7w7tw@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1326448-20241212125355bb8a2b54dc1486cc14-E7w7TW@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=-2.2 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_PSBL, 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 Made isar-image-installer's unattended mode configurable. isar-image-installer allows to specify several parameters like: - installer.unattended - installer.image.uri ...file name of the image to be installed (parameter name uri chosen since we plan to support download of images in upcoming patches) - installer.target.dev ...target device name (e.g. /dev/sda) for the image to be installed to - installer.target.overwrite ...strategy how to handle target devices not empty (possible values: OVERWRITE - overwrite data on target | ABORT - abort installation if target not empty) to execute image deployment in "unattended" mode. Thus, I extended the image to allow specification of those parameters and added options to configure those via kconfig menu. This resolves the discussions from https://groups.google.com/g/isar-users/c/bngoAN6FwV8 Alexander Heinisch (2): isar-installer: Added option to add additional kernel cmdline arguments for isar-image-installer. isar-installer: Added config options for isar-image-installer unattended mode. kas/image/Kconfig | 37 +++++++++++++++++++ .../images/isar-image-installer.bb | 11 ++++++ .../lib/wic/canned-wks/installer-efi.wks.in | 2 +- 3 files changed, 49 insertions(+), 1 deletion(-) --- Changes in v2: - Added kconfig menu options to setup unattended mode.