From patchwork Tue Jul 2 13:38:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 190 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 02 Jul 2024 15:38:43 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f191.google.com (mail-lj1-f191.google.com [209.85.208.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 462Dcgtx029421 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 2 Jul 2024 15:38:43 +0200 Received: by mail-lj1-f191.google.com with SMTP id 38308e7fff4ca-2ee45dea727sf43187711fa.2 for ; Tue, 02 Jul 2024 06:38:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1719927515; cv=pass; d=google.com; s=arc-20160816; b=h03MSmzZ8SVyMNGfu2gvfxCVXjfdreKThpgvk15TQGMu2Qs4LVjsuRNEerU79k/euI 1O2BgnV7aenFrr3QmTx22JRPDdgnyjvvcil3nlw32BIaatjKolJ2lq+sOmwR9j9N+B3h 8CtovtN6IhnGW9pCDzE+UvEW2dosYbdBXe/kiJegPPlIHr33p3oUhP0hU4rYiKRnczro nRyCeLbXzi8snwlWbzaF+YmPMu6A4pykh+oCMH1eNIES1x/eCrVWfeDBPTeNIWJzaqFK MY5BMRhrJN69quzc45Zc2Cxe+t//6HP+GuGXOkoHM7+pVl2fhxy57HL3VSZwtZ5DdtBN ZYFg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=n46lu9QiZF6P4AkmMLMwACcugxphRDie0i06LkSiO3A=; fh=3ODMdfLODfQGepjDn0bwMf7kwW9wnX9sMMhVWhUmKs0=; b=jFAGy9WArfT+KbVRjkdoocRiIiEBghr95ul35RZ5YzJq9cCTmVkLVeJ8W+lG7yayrz 8Ywaay1p/qIssN8L0al3lysyXkn5hTy+GWCIfnG80W1kCnyKyoz4UHdrWXC+Sz8xKwdo TvcENxh894SQlOu095waQlm9/5UBuIVWM6TgVhi6/qL4qkUg+JcL4Zhk3pNk3rA8L3E5 JgvQ4Mn5ZGPSureKEiWYFXfL2RitZ/hC16EqIjYIJrKGGHgrVtjToXNR7YDtdOt4rTaM kvgTc9xxInMQMjCHpOyzyHuAPy8DVX0veensEa6BLW9qT6LfuqJ8aR1kbT5GhdROEcmS 7CZQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=oZY2gLic; spf=pass (google.com: domain of fm-294854-2024070213383293bafafc814d365ac6-s1ixtz@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-2024070213383293bafafc814d365ac6-s1IXTz@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=1719927515; x=1720532315; 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=n46lu9QiZF6P4AkmMLMwACcugxphRDie0i06LkSiO3A=; b=EU1kBqEBFlJJrT2iVcFIiq+R2tgpNgDF0ulRXtxNwfpAr1Tz+1XpdkS1TidTMJSXMV ybkusbyoe9+RVVRRJjT7rdBKX8vZHo8zpJp2Mp3473Rv706FSlyMri3jLZm52QwSQAx7 ac7b/2HH5Vtt5luezKX+TDeyW31XBNLgU7sxem3pvVo5xEImlilRozPC2yiWmrhcTbis RBzVFFhDYp3TCUBdIRRzdOsvvrwhxhkKXI3S37KMx2XFcRJuEJ6IypkAhCsippqFscAR prA4/IuxKrYAYy5XwSpRA1n+uLQAvzI+1ItHYB14A6BLsmljXn0LLbiRbcPX++ukI//w OUKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719927515; x=1720532315; 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=n46lu9QiZF6P4AkmMLMwACcugxphRDie0i06LkSiO3A=; b=FW9uHFZ51HoKI7KCzkwSoOs5IV6RsQgC2GPgF5C5ipYDpx2FcRQ7N1qdNHoEW4Uh8v 6k9JbTizYRTi7sj2YZl191Zg/6EvVqCoq1qiT7bISv31Buq7N6weojaM2cJHyZLBIZ1Y u+fRFfY3neBh1aMb9l896fxOcve+xPQIRr90O77oKD07+2TOkgrtJDMpe6Z4MJmyLaQU 03uCN3PkWL9HZ4s9C5PAgM15uZcH4xz7sgP9JDYS96D/cNy8zqHCuarjjtVdDUFGk+BG JzQkQHZ8iXynX9N3DI6Kkm8qp0EDtr41aR/hACE2X32lneUsYISXikvYhfJ7GLDBYiKg iA8w== X-Forwarded-Encrypted: i=2; AJvYcCXVCTYK5E1sNstiyATFGTy4iKkYasJQuirXhA9oinD1H+i6tx0aOxr/pbODIuH4+XG0ltvI4ZC2otc/RajKgYGf4wc2fQQ= X-Gm-Message-State: AOJu0YwsC1EnVs7uHhA8feeH2THtToKTuuYNYbUUN38n5zhkeLGbntZr Wok1RnW6h9wjjH2tV/You3fVkfWUFL6+MZeKcGsN7tk1yyP5aewo X-Google-Smtp-Source: AGHT+IE3+ktIkzEDbU84b/djjPEmAruXxntM8+PDWQloGq+voPh+oaFvdSYqUrKN3E3avk1OkB55dg== X-Received: by 2002:a2e:9c51:0:b0:2ec:5922:920d with SMTP id 38308e7fff4ca-2ee5e6f7838mr59853131fa.51.1719927514937; Tue, 02 Jul 2024 06:38:34 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:9d46:0:b0:2ee:7a6c:fcba with SMTP id 38308e7fff4ca-2ee7a6cfd04ls813271fa.1.-pod-prod-08-eu; Tue, 02 Jul 2024 06:38:32 -0700 (PDT) X-Received: by 2002:a05:6512:2201:b0:52c:d819:517e with SMTP id 2adb3069b0e04-52e8268927emr6735544e87.30.1719927512488; Tue, 02 Jul 2024 06:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719927512; cv=none; d=google.com; s=arc-20160816; b=N9adFX4ejIViZ8p5dLfiGd8B/uIHGJgZ/yz8kh25w8Fw8nmJ1BSJY6yRevpnYM54eh qmjCujeQqPxZkcxJ61YMPaz7AUO37u0dLhcqxuUfT9ZLwX4Cw86JfhQxU5x8tIcaixjT G1slkDBeFtqZWy6ZEG34edHkReolLheRoAPPF4bauVR9hwXSTpvPgMVU88oh0HW093CS siqGzzhne54R3weuGDiIL3toLaH1bKHSLrKcPUmvRk0tplKcXBGs3SiC5mvy/ihQvR3O 8slD8gPDVUR5hv+Q98R8UFjiQ3droj5R0AcP4LlFB+SGaji0jRrVhbJmDzjAdP0PGLeD yPyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=6t8TsuUlR6LwPour4QMFaCINV1oNW2spE5zVrGW3Yw8=; fh=TWGwN84gUgHIe5O4CbyH9KISyeWwGbvUX7cnJPxVD70=; b=i5qtp2XOKhngcRuq1uJ/UyniO6fyFyVRZrR9/OpDKLFVTjNzRWyWM0BaC2/7Ljm2Jq DBJJhG3RQ4LQ3QdrPQU2XQn4UiVxeRi9Fx0JNpTkcYAo0eqsHBFLIX1iit2Mr1kJoTB3 LioZsLJXgja2nq/c+ntHg24lCshobiJi8TCDvBasTVDKG7E+E4Me4VNsg/Vsa09aFL68 2h08Io1IkCbU7PY8Q73n30qNwnW0a9/mZeXq8rbSrBeAHNjIaHG9zCxO1+snUUjMUioq TJp5YKBIYlKWk/pMhXlOoOnSAZd7CqH9vrYXXCbYbBB48t73eoz3Him2ms7p7syZxKj2 BrHw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=oZY2gLic; spf=pass (google.com: domain of fm-294854-2024070213383293bafafc814d365ac6-s1ixtz@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-2024070213383293bafafc814d365ac6-s1IXTz@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net. [185.136.64.226]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-4256b090706si2040335e9.1.2024.07.02.06.38.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2024 06:38:32 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-294854-2024070213383293bafafc814d365ac6-s1ixtz@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) client-ip=185.136.64.226; Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 2024070213383293bafafc814d365ac6 for ; Tue, 02 Jul 2024 15:38:32 +0200 X-Patchwork-Original-From: "'Jan Kiszka' via isar-users" From: Jan Kiszka To: isar-users Cc: Quirin Gylstorff Subject: [PATCH 00/17] Reworks, fixes and unattended mode for image installer Date: Tue, 2 Jul 2024 15:38:14 +0200 Message-ID: MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-Original-Sender: jan.kiszka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=oZY2gLic; spf=pass (google.com: domain of fm-294854-2024070213383293bafafc814d365ac6-s1ixtz@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-2024070213383293bafafc814d365ac6-s1IXTz@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Jan Kiszka Reply-To: Jan Kiszka 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_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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Address several issues of the image installer, specifically the script. It also brings some simplistic way to make the installer operate without user interaction. What is still missing, though, is documentation of how to integrate all that in own projects. Also, I would like to make hooking into the script possible so that certain interactions with the user can be customized without having to fork the recipe. Still needs to be designed, and would have only made this queue even longer. Jan Jan Kiszka (17): Kconfig: Rework installer image submenu installer: Do not show systemd boot menu meta-isar: deploy-image: Change reboot logic meta-isar: deploy-image: Drop umount attempt after installation meta-isar: deploy-image: Fix bmap support meta-isar: deploy-image: Improve root mountpoint discovery meta-isar: deploy-image: Make TARGET_DEVICE a complete path meta-isar: deploy-image: Drop pointless --clear options from dialog meta-isar: deploy-image: Allow to cancel installation meta-isar: deploy-image: Warn if overwriting a non-empty disk meta-isar: deploy-image: Fix and enhance image selection dialog meta-isar: deploy-image: Improve target device list dialog meta-isar: deploy-image: Polish some dialogs meta-isar: deploy-image: Re-indent meta-isar: deploy-image: Prepare for auto-installation mode meta-isar: deploy-image: Introduce auto-installation mode meta-isar: deploy-image: Polish recipe kas/image/Kconfig | 43 +++- .../deploy-image/deploy-image_0.1.bb | 9 +- .../deploy-image/files/deploy-image-wic.sh | 188 +++++++++++------- .../deploy-image/files/install.override.conf | 2 +- .../lib/wic/canned-wks/installer-efi.wks.in | 2 +- 5 files changed, 150 insertions(+), 94 deletions(-)