From patchwork Mon Apr 13 10:27:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Badrikesh Prusty X-Patchwork-Id: 5033 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 13 Apr 2026 12:27:43 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f56.google.com (mail-lf1-f56.google.com [209.85.167.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 63DARhto014096 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 13 Apr 2026 12:27:43 +0200 Received: by mail-lf1-f56.google.com with SMTP id 2adb3069b0e04-5a2c40819cdsf2164402e87.0 for ; Mon, 13 Apr 2026 03:27:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1776076057; cv=pass; d=google.com; s=arc-20240605; b=ZAKoYUsyfMwJcPDKhtSdh6MVCWKYRfxu79vniY+DfIE54UnZ201UkaPrb6n+jRc2wt l+VQ5vzBt3zyE3u3v/dhtVqS2In+VtilwppsO5rQfDy7zMf6sY77RETilNfjExy94YjS yZEa3fHn/CXcofQguhPTnIhTIc4sLwjNkmDbA+3b0G3fJW8XL9GqW4YF9XR74x0qgZLv +YujDT0By+/wyduPqBdCzcDR4u4R1jNvb+GyGveyRRxyLS8vVbQtiyvgXPymX/6oUwYL o/fbZIZcYwkI2nf9zFUHGMaNJSe3C0UQbg2Y0D6QzfW03zXqnSmvu/8/v/O0RoXqDuAQ ghaw== 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=IurulX51OJCmnP+uHb7S2yBbFc/Sj2ysq1m7z5UaGug=; fh=6rsiA0mCRxRVf2InS7Meboz9QNlJdSERieJQzYm9MfQ=; b=Re+Kg0SieFCMBHxzNIDetsy5MLRE8Iozwn01bfHw4mvys7n65NBhSbFLQ6QtQMwIKr lO/QDbSvCd2FM4m0M2GCTdqaIWVH9nEeKzDwekpyXQbogWfHNfO/sNhol+s3U5MUY6Nm YTIkcISZc8phZ3nGR9eZ88StOZi2APp1G6oWWMirbiZKm72SWeWAvBmDXRiZOSfqcJVP +TVLhuf2yYwn0aT0eDNxa1wfrMm0jpvB0sxqdA4xGyhiKWOBJwO3e6IGZ5BmDLoIKhC1 hFPgeXcjcJFwmxkrnlXrp8OMIXeoBFhJjFEh6Zzb1UnsIwNX/00aEfYUzwkRg3ia83QO H+CA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=i7tgrgSd; spf=pass (google.com: domain of fm-1328765-20260413102731540ceb77b30002077a-guxfyy@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1328765-20260413102731540ceb77b30002077a-guxfyY@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=1776076057; x=1776680857; 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=IurulX51OJCmnP+uHb7S2yBbFc/Sj2ysq1m7z5UaGug=; b=oD7MsW0Iyc3GWLxOxB7KAi3M+gupbwPQ5+Qh/e9cyZhDxpCUTo79qAHOtNh1G0bTBH nfv4VtFWxpSYFI0tEOvotvUnJGcblVlMXNCx/TvpcxXtXZgng17V0Ltsi52HVP/ZUomT ywFVaoQEXAqzqqxsnv8K7kgLhOzZrH5CowR+03TVMgwZU7vjfca76TzUcdDJBwmR0vkd o6cvrSvyiTOHTjBV8f7GsVNCx3l81BxP5gyGdy7MS1RscJzS/e5UQ9TWwYbDENO3u0fs vpsPmB7iopA9midNG1bg7qEqBUH8BUDl0qhT/zo2nb6F3E9SxwwyReGqg9GeGnP1KQl4 YLCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776076057; x=1776680857; 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=IurulX51OJCmnP+uHb7S2yBbFc/Sj2ysq1m7z5UaGug=; b=BUP1TpSmUnr0V5HDKJCmk90oSLxee3KXuvu7mPU8e0cUo+Nc52MUc08uXr3CW2Wm3S lxKnK2psdlne63AiKfuqniTbtZKBFcLs0H3MdLx3E/jUT8wvJqESYUkuOfCln/Smq+wu uWX2s8y17KMu0teYoCwbhKKjnahgIhgcYQgRVtPrxObridpsQ0ANl57gW4ZmW6jRvpHg bYt+M5QPiVgtRG6MgEwpaPuRL+PYXliKdMqATNI3Ps8BN038ABHzeQMBh9bPy/qBs4F+ FbhhHjH/wQTPYfXaqkECHlcAz3Gejse0Ds7IxpwnaKFv03dHhRruEo5QYxouVzZeVdna +0lQ== X-Forwarded-Encrypted: i=2; AFNElJ+WBdDfqO3+8KOKOLOycqzFWXM2rJihWViO6Ic41vv9ZrW11CjQnvskoGDe14Zjo/PhtqCXQZA=@isar-build.org X-Gm-Message-State: AOJu0YzW3FHxE40CF5WpUNWNnjnJXXvjldqsCAE3dZV0a+YUWO1xLRRN LAKUOLXk0b95q2zN5UnU6ZrHrsg0xC/viadNQ4kaqPDT7gil7FhlvjP1 X-Received: by 2002:a05:6512:39c3:b0:5a2:c0b8:270 with SMTP id 2adb3069b0e04-5a3e7cc97bemr5397971e87.22.1776076056970; Mon, 13 Apr 2026 03:27:36 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AYAyTiK4sfwfEkx7w7VW3oucc94kWxW9JK3+4Je2fUvfF8BXbw==" Received: by 2002:a05:651c:8e:b0:389:e3af:1e50 with SMTP id 38308e7fff4ca-38e23ac8f6els8814521fa.2.-pod-prod-00-eu-canary; Mon, 13 Apr 2026 03:27:34 -0700 (PDT) X-Received: by 2002:a05:6512:138d:b0:5a2:c962:59f1 with SMTP id 2adb3069b0e04-5a3f08783aamr4446023e87.16.1776076053774; Mon, 13 Apr 2026 03:27:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776076053; cv=none; d=google.com; s=arc-20240605; b=UhNo5IPczb6r4p6UMokqN+bIQfdETda/v73p6VR590tla96WGPsnILV513+5ZgJyD7 8Ju1r1/w1Ocka3/zyLEdB2FVUGtVhQb5IA2Oq7kHs++ohs8azQn/WGJbo9AunwiUfwIW EHdRCH9GkJVdMlqaHARUKeLSY13FSuKn+Vtn0yWzSMlMlsPadcId3ezRr0bHGEvEldao 2NQwtZQWwXG/A+0qSF/G2Ov3N+UvT/zJ5UKzJUYK7oDe2McYnEOnH3KvFNEf5oCP8HS3 sTzXPbuKd/YiQ+i0ltZqVQgcJBpMhcuI7IVL6vPHQUeGkIKowAJTkr35UXiuigT542ze 1oSA== 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=lHQzko68ZwI/vuWI+1fEJkLTNXvL7GBQVGPvEUJUVaM=; fh=Pt40xOu0ssl96dVOzN1FNmNtHgqv9aW9VmLrBG8UyVY=; b=BaXJfg16QTyjk+MxZu++twbqFKIT6Gp6JbtVTyHxXZDCxPlSa5GPuILFWHpdJLN/Q9 8rq7ckZGxZkrHNwMayaNuysrSETEgRw0VkGJySAgaVxuNyj313koaCTE3HwzbHkbDu+u YPZbI1Yi248HdAnkHszRh86aI90NOsNotVCVLhe0tjsIU2aZbPu/bH7eyB64a7d+shlW LkgRz1/n63tgxZZnwoAnpKwN+eEwkwH4pMYpKmMWpjnBovMzKtUh3z90h45dW6o4nL+K z90mz/XmZ+iMxvMd2wxMlCqhawHn5XOC1vYH+SQTJS62BVmuWfjAVcqPhQbow80PBK3f 6JMQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=i7tgrgSd; spf=pass (google.com: domain of fm-1328765-20260413102731540ceb77b30002077a-guxfyy@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1328765-20260413102731540ceb77b30002077a-guxfyY@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 2adb3069b0e04-5a3eee8372fsi177587e87.1.2026.04.13.03.27.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Apr 2026 03:27:32 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1328765-20260413102731540ceb77b30002077a-guxfyy@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 20260413102731540ceb77b30002077a for ; Mon, 13 Apr 2026 12:27:32 +0200 X-Patchwork-Original-From: "'Badrikesh Prusty' via isar-users" From: Badrikesh Prusty To: isar-users@googlegroups.com Cc: Badrikesh Prusty Subject: [PATCH] installer: use /run for abort trigger and drop systemd-tmpfs-tmp Date: Mon, 13 Apr 2026 06:27:17 -0400 Message-ID: <20260413102717.152791-1-badrikesh.prusty@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1328765:519-21489:flowmailer X-Original-Sender: badrikesh.prusty@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=i7tgrgSd; spf=pass (google.com: domain of fm-1328765-20260413102731540ceb77b30002077a-guxfyy@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1328765-20260413102731540ceb77b30002077a-guxfyY@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Badrikesh Prusty Reply-To: Badrikesh Prusty 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Switch unattended abort trigger from /tmp to /run to rely on default tmpfs. Drop the systemd-tmpfs-tmp recipe and dependency, removing custom tmp.mount setup as it is no longer needed. Signed-off-by: Badrikesh Prusty --- .../deploy-image/deploy-image_0.1.bb | 3 +-- .../files/usr/bin/deploy-image-wic.sh | 6 +++--- .../systemd-tmpfs-tmp/files/postinst | 16 ---------------- .../systemd-tmpfs-tmp/systemd-tmpfs-tmp_0.1.bb | 13 ------------- 4 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 meta-isar/recipes-installer/systemd-tmpfs-tmp/files/postinst delete mode 100644 meta-isar/recipes-installer/systemd-tmpfs-tmp/systemd-tmpfs-tmp_0.1.bb diff --git a/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb b/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb index 03b082a9..44b96c27 100644 --- a/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb +++ b/meta-isar/recipes-installer/deploy-image/deploy-image_0.1.bb @@ -13,8 +13,7 @@ SRC_URI = "file://usr/bin/deploy-image-wic.sh \ " DEPENDS:append:bookworm = " bmap-tools" -DEPENDS:append = " systemd-tmpfs-tmp" -DEBIAN_DEPENDS = "bmap-tools, pv, dialog, util-linux, parted, fdisk, gdisk, pigz, procps, systemd-tmpfs-tmp, xz-utils, pbzip2, zstd" +DEBIAN_DEPENDS = "bmap-tools, pv, dialog, util-linux, parted, fdisk, gdisk, pigz, procps, xz-utils, pbzip2, zstd" do_install[cleandirs] = "${D}/usr/bin/ \ ${D}/usr/lib/deploy-image-wic \ " diff --git a/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh b/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh index 60944e58..9a4102b2 100755 --- a/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh +++ b/meta-isar/recipes-installer/deploy-image/files/usr/bin/deploy-image-wic.sh @@ -11,12 +11,12 @@ SCRIPT_DIR=$( dirname -- "$( readlink -f -- "$0"; )"; ) . "${SCRIPT_DIR}/../lib/deploy-image-wic/handle-config.sh" if [ "$installer_unattended" = true ] && [ "$installer_unattended_abort_enable" = true ]; then - abort_file=/tmp/attended_mode_trigger + abort_file=/run/attended_mode_trigger for ((i=$installer_unattended_abort_timeout; i>0; i--)); do echo -ne "\rUnattended installation will start in $i seconds. Press any key to switch to attended mode..." - # Switch to attended mode if the abort file exists or any key pressed during countdown - # Create abort file to notify all other console instances to abort + # Switch to attended mode if the abort file exists or any key pressed during countdown + # Create abort file to notify all other console instances to abort if [ -f "$abort_file" ] || read -n 1 -t 1; then installer_unattended=false touch "$abort_file" diff --git a/meta-isar/recipes-installer/systemd-tmpfs-tmp/files/postinst b/meta-isar/recipes-installer/systemd-tmpfs-tmp/files/postinst deleted file mode 100644 index 9d75025d..00000000 --- a/meta-isar/recipes-installer/systemd-tmpfs-tmp/files/postinst +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -set -e - -DEST="/etc/systemd/system/tmp.mount" - -if [ ! -e "${DEST}" ]; then - # Possible source paths for tmp.mount - for SRC in /usr/share/systemd/tmp.mount /usr/lib/systemd/system/tmp.mount; do - # If the source file exists, copy it to the destination and exit the loop - [ -e "${SRC}" ] && cp ${SRC} ${DEST} && break - done -fi - -# Enable the mount unit using deb-systemd-helper; ignore errors if it fails -deb-systemd-helper enable tmp.mount || true diff --git a/meta-isar/recipes-installer/systemd-tmpfs-tmp/systemd-tmpfs-tmp_0.1.bb b/meta-isar/recipes-installer/systemd-tmpfs-tmp/systemd-tmpfs-tmp_0.1.bb deleted file mode 100644 index 3112245e..00000000 --- a/meta-isar/recipes-installer/systemd-tmpfs-tmp/systemd-tmpfs-tmp_0.1.bb +++ /dev/null @@ -1,13 +0,0 @@ -# This software is a part of Isar. -# Copyright (C) Siemens AG, 2025 -# -# SPDX-License-Identifier: MIT - -inherit dpkg-raw - -DESCRIPTION = "Configures /tmp as systemd-managed temporary filesystem (tmpfs), ensuring read-write access even if rootfs is read-only" -MAINTAINER = "isar-users " - -SRC_URI = "file://postinst" - -DEBIAN_DEPENDS = "systemd"