From patchwork Mon Sep 30 19:42:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 3838 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 30 Sep 2024 21:43:10 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ot1-f60.google.com (mail-ot1-f60.google.com [209.85.210.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 48UJh8Y9009148 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Sep 2024 21:43:09 +0200 Received: by mail-ot1-f60.google.com with SMTP id 46e09a7af769-710fe59d6edsf4011407a34.0 for ; Mon, 30 Sep 2024 12:43:09 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1727725383; cv=pass; d=google.com; s=arc-20240605; b=SfaywBLcdHVbUjQD/1dhs/vD95mt+Jg8UZm7nJpqHZNcGXBFsq8t9cd6YSoPyoS3gB n8ANdC/fNdJrvpM8Dw3q/iOUc3rVwUWki23eh8Tibdz8E1UDx4YG0pWCBN8pJp2j/ia2 /0aMe07g+9clcj+sTwleYXX9apizHeYZ6IraTvTvd01l3GgJDInjXh+jnOOkTUnlC5t1 f//73YoVZvXoIuPQwY990w0eKWKJqHG4aYzAKE9JpSMSmsCLbuYcKVmzgS4NdMawX771 EBFURBZUQ1Oehs/IO5qXIObggeaQ99EwndciPDSPEvtbQv5RxiTRCaO2C2wZa8yTaYla 2XIQ== ARC-Message-Signature: i=3; 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:mime-version:autocrypt :content-language:subject:to:from:user-agent:date:message-id :dkim-signature; bh=p+ixaQoL/eOTxI0I1v6uNuM01FhoJURZ4szENzRl0Kw=; fh=yIhAUajP14e/mKA+KgdgKAQFdDuliGAKWu9GR5lDWKk=; b=CVZbRWJOqwzvACHo37O1PXckDaSiwmKs0ZAJCKU0MRuRb+Pc/f0Lko/s6rlVnvAiX8 CDqUhX6pHCzI7M/wdhskiikLCSifxltwDJ0NosTad5bUtjhXN6lz5C5bcUsBiu13EAX+ deyswTtYLEcNVHo7d1OX4ZatMVrPI+5wzl6R9L4Izug1TM4meLpcdC+ZmkDYM0fe0Esj vBWZN6wRVkc0PVAqzr4T8oAVM1fR3G9mFlFwO/tPR7lAAkfyQAA4M2kwYozcxbSJ1U9T IXVHMAPUPLfvYQVNA2IezPYX4t9fTa8SGBxriCTHC7NFl0cGGuTCbAHlDLZvYIUJrlAx WMHQ==; darn=isar-build.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=jyLfOWxs; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f403:260d::622 as permitted sender) smtp.mailfrom=jan.kiszka@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=1727725383; x=1728330183; 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:mime-version :autocrypt:content-language:subject:to:from:user-agent:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=p+ixaQoL/eOTxI0I1v6uNuM01FhoJURZ4szENzRl0Kw=; b=D4e2y+ECKfb7pp2BUjscFOM+kgB9ZFG0zmVXGjr3N8w2X2kZ0APduv0VOotlVODyaL ohEbTMpQK5FgpFk9yN2b6jkZCx2bjVAkttGnc8XkGj0vwjX47S23sZvTGhoSjs5pElmG 5Qd4bQUpbYfAz5oxT06YVMx9XkH9yV44wjAY5xrUzPpehvCFIYhQQyzYy0F/ZcMSN3Gs pDT2OC0rYBvAR6YKJ3Wn3vCukexPQ3y0oNXYcRAcEl5TJU7tNLzak4vxPfJefPa38NSk OWljlmhII6zsFIrXOwV4EAZp6w/c2RwmTntgEdGRcG3jaUD+vBXUNdtG+tXgicBRp8st zXaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727725383; x=1728330183; 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:mime-version :autocrypt:content-language:subject:to:from:user-agent:date :message-id:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p+ixaQoL/eOTxI0I1v6uNuM01FhoJURZ4szENzRl0Kw=; b=N5dViEYu0+E9OOMK9sKCNkD7+iqDpXn7HxTNjur6GnX+XfJaZxhQQHnZuoF98he2Rg mGsZtjL4s/IOqHhBbG9mwXRrshTwN01nCnsBlfjwN4svopn37VK3hgfJJ9H6uEKDV1YC PBCh6gEMXULFK1nRiJpkSucgxzMu09cGh18Nl9R9i/PWIrfJBDaF7/4qb/EtImvtrMnT vAsygXebGKOoToFYAIb7SFLYEMiKWum841rgtbpJX2Pk0lKP9cNKj+x8RgWeP93z0IIN 5aioLld7J68KYzUIkoim4cQ+cM6eXNBmW0NFXg9mFyHFn7YsFBMMupQeviEi0Iol445N 72WQ== X-Forwarded-Encrypted: i=3; AJvYcCUvcks/C9Z6jAvKV+DQOUxtmV/FCHckJmaHMZ1OMA291GshhOSoqI77Rnj36pz6OCCk5cy5M1M=@isar-build.org X-Gm-Message-State: AOJu0Yx8OyUPfsAB0CbsLI4DBWEKD45XqYG38opmStuNqxu7tKXG1FrC IP9/Z1sdm6bnEtJKJOCX1X7GoHOc2iA3Cu4Q4b7u4P+Q9FszFISR X-Google-Smtp-Source: AGHT+IHTpgZknGRO8gwrYa3gKh7AmQIaNj+iQAeznt5sc/eI7F6SN2jFEKXrqFDGCXa+Fc6qAcxzhg== X-Received: by 2002:a05:6830:6308:b0:70f:6d1e:d06e with SMTP id 46e09a7af769-714fbe85aa3mr12513789a34.12.1727725382773; Mon, 30 Sep 2024 12:43:02 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6820:80e:b0:5e7:74dc:7e6d with SMTP id 006d021491bc7-5e774dc806bls1275899eaf.1.-pod-prod-01-us; Mon, 30 Sep 2024 12:43:01 -0700 (PDT) X-Received: by 2002:a05:6808:4497:b0:3e3:a7ee:392c with SMTP id 5614622812f47-3e3a7ee3aa9mr3283061b6e.15.1727725381810; Mon, 30 Sep 2024 12:43:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727725381; cv=pass; d=google.com; s=arc-20240605; b=kG/G6F5CSCYx6Ni+Ek5fqvD5RkcmGADQ9fdOLoRWpQdY0RLhJ4AUw45d9W9Iba6csb 2RLs9/UXhaaK0J1IKf0oK5etmKDC1HNEMWqcUE7GzyplbT03r4ooOWPCjU0drqTxgR87 CQfH4Kd+Mg2g0ApknWJ5PRHVWP0+GXLye87VpoYnzSpHjomKxPR6DgC7egnrAHsu/4ht wCsupUBAs/m42mic6/IadH/1OP2voRBeiPIx5IA5yj3lvtyqV96RsHHKa6gvQEh89uo7 HB7gUS9BPo+gQ12TtlU99agzy8ot0OLoZabbG8nTA7kNbhx1BHXQkHFTfq5WHxqHTKGe QGPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:content-transfer-encoding:autocrypt:content-language :subject:to:from:user-agent:date:message-id:dkim-signature; bh=0e5+xMcrq3XW6vmTYUjUZQp39cSbdLC9JIJabCb7mRU=; fh=hOBXq6nisExkIRIwN8IDOmOCLKwX8PM0ANlxQbNMEqA=; b=CxXqcQY4Y0/G3xIzHqMcjOvBxyyZaY1zZ/6V3ps7hTFli5+WvYn+i1EtVDfmT3Ar3Z /vWvv3Kd4nY/U2MSQVApUZpw9xEgNpXjbzCOuMevPbw7XwAYX0feSaz4p8Imb7tdTCvj nmO5EI867L8z8tsdSdbgQLanu/BT2Woo4/8vmkwBwHAEAo87LvJPg3483TaiE+ywYKWK cNBP1KMHgvqvEQeR0+o4XyqPk/H6s/diC1IUl/7eGb7t0Hny0dxR3uPVB5hH8P/xnohb J/Yx8ZCv6SLNDKHOf0Q6SbPeT3FjG6mvQgyLOdqthOZBdz+XfAN9P+CTtl6ZhFsW6xLY KhXw==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=jyLfOWxs; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f403:260d::622 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on20622.outbound.protection.outlook.com. [2a01:111:f403:260d::622]) by gmr-mx.google.com with ESMTPS id 5614622812f47-3e39352700dsi341127b6e.1.2024.09.30.12.43.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Sep 2024 12:43:01 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f403:260d::622 as permitted sender) client-ip=2a01:111:f403:260d::622; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=A4WuIzOZdHvOvZP6kkL5qGb9ItnVnj1cpoanbyuvAPn5cDjv+4TQBG0woniUSfPAyzvTsPbIgDbHOxdFh5CZiOIQ3A7OkbvIwycqjIbisuIBLTyFZvHNcg7grWcptxMXzvCgEDicOkPW+iyKa9e6C+3wzFEjsFZFdw9d2Tx5mJ/ECr5iGUSYmdtmrY7Iw4mVu7KwsYtRNw/+NGTrJKxXqzf4KJLGuSdCtE3IbgSCzwxCFp3ayoKBfI7dpm83I8Cm86vT9zruiC0USB1m40eNldl+05Vrhb6CfcyPHB6iYobFYtZRFKdHHPm8xz3w9/nu+I662ha6iYrr1kwLQUWGmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0e5+xMcrq3XW6vmTYUjUZQp39cSbdLC9JIJabCb7mRU=; b=LEXKSWt5H/nVk+kwbWzbvsQSjmhyOJ6mPCs0dPlSX71oXPGKgd5wpterr6qGBnPegJ9Tj+3f5IY5KsWlrVQbk2nyAMPaiUwfYesBGRz1xIfqvQtNLRt6aASgVbh8t6+d97fESLflh9DXLwpSSTwJ+oOCdX8G+tAH1nEPbwnvED+2wKYT+VnNWV1W6FdFZIFZMuRJao0PBYJ571oHAgbKuXE7MByhsemJS1qxGhKTNgFfBljRj6dwwVYFEMGnLeux/Qpv/r3bAyGWc0bivxgFNJulhltJQhEH0mciE1EdN6CIylR+yfqzMapRYWLfkC72iWpMWRVbE0GaHse1bE83EA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from GV2PR10MB6186.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:76::15) by DUZPR10MB8070.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:4ad::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 19:42:58 +0000 Received: from GV2PR10MB6186.EURPRD10.PROD.OUTLOOK.COM ([fe80::7fc:74bb:a781:a286]) by GV2PR10MB6186.EURPRD10.PROD.OUTLOOK.COM ([fe80::7fc:74bb:a781:a286%5]) with mapi id 15.20.8005.024; Mon, 30 Sep 2024 19:42:58 +0000 Message-ID: <1646de44-c244-43b3-ad57-b3bf702608b0@siemens.com> Date: Mon, 30 Sep 2024 21:42:56 +0200 User-Agent: Mozilla Thunderbird X-Patchwork-Original-From: "'Jan Kiszka' via isar-users" From: Jan Kiszka To: isar-users Subject: [PATCH] initramfs: Add missing umounts after generation Content-Language: en-US Autocrypt: addr=jan.kiszka@siemens.com; keydata= xsFNBGZY+hkBEACkdtFD81AUVtTVX+UEiUFs7ZQPQsdFpzVmr6R3D059f+lzr4Mlg6KKAcNZ uNUqthIkgLGWzKugodvkcCK8Wbyw+1vxcl4Lw56WezLsOTfu7oi7Z0vp1XkrLcM0tofTbClW xMA964mgUlBT2m/J/ybZd945D0wU57k/smGzDAxkpJgHBrYE/iJWcu46jkGZaLjK4xcMoBWB I6hW9Njxx3Ek0fpLO3876bszc8KjcHOulKreK+ezyJ01Hvbx85s68XWN6N2ulLGtk7E/sXlb 79hylHy5QuU9mZdsRjjRGJb0H9Buzfuz0XrcwOTMJq7e7fbN0QakjivAXsmXim+s5dlKlZjr L3ILWte4ah7cGgqc06nFb5jOhnGnZwnKJlpuod3pc/BFaFGtVHvyoRgxJ9tmDZnjzMfu8YrA +MVv6muwbHnEAeh/f8e9O+oeouqTBzgcaWTq81IyS56/UD6U5GHet9Pz1MB15nnzVcyZXIoC roIhgCUkcl+5m2Z9G56bkiUcFq0IcACzjcRPWvwA09ZbRHXAK/ao/+vPAIMnU6OTx3ejsbHn oh6VpHD3tucIt+xA4/l3LlkZMt5FZjFdkZUuAVU6kBAwElNBCYcrrLYZBRkSGPGDGYZmXAW/ VkNUVTJkRg6MGIeqZmpeoaV2xaIGHBSTDX8+b0c0hT/Bgzjv8QARAQABzSNKYW4gS2lzemth IDxqYW4ua2lzemthQHNpZW1lbnMuY29tPsLBlA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WpkWIE8STUhQa9AkezgucXN7r6uSrzW8IQXxBInZwFIyBgM0f/fzyNqzThFT15QMrYUqhhW ZffO4PeNJOUYfXdH13A6rbU0y6xE7Okuoa01EqNi9yqyLA8gPgg/DhOpGtK8KokCsdYsTbk= X-ClientProxiedBy: FR4P281CA0381.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:f7::9) To GV2PR10MB6186.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:150:76::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV2PR10MB6186:EE_|DUZPR10MB8070:EE_ X-MS-Office365-Filtering-Correlation-Id: a03334eb-19d4-488a-cd3c-08dce1881622 X-MS-Exchange-AtpMessageProperties: SA X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?q?v2l3yvhd1Yf8BM7mqFIFwFQuB4wGlPY?= =?utf-8?q?19JxJ9xE4rtA+zVdf76v5liry+onkFHTegbXa173qkERocQU9tYEwkHZAzAhaN1lZ?= =?utf-8?q?8eiws/5Gm/tk6obWdj+yMfTmaNyG6/9Pa0sI4/UBrVQ07tkIXaMz4MhgEQsDBy/z7?= =?utf-8?q?5rxLeLSE0rGuir8DVUuLf+G8Iga2FG1Wp8CHwenurLdUsjuTq5Euld3QgOORs+IKv?= =?utf-8?q?WqAc3T20OelKdfBZ03FiRd9w6KjI+ApATQLPE3wvlENj+usFGRUS8Pxvfjb0ScN9P?= =?utf-8?q?B5cGMw6ntGn6l+eXEO3m9tCdRumsKvjnweaXcDn5Xj0ZBlT29kc4blm8/Gt4sVs97?= =?utf-8?q?DIpu9NuExFwZxX4HPCeSj0j22ICcq5VG0lQQGbCYbuLZNdcGXRvM94kRFEm/cOQcn?= =?utf-8?q?CzpG6HeJ9kTkhturyCSc5gbkJ85KtDGqERhHUCnpiZM60hcYM0UgIo++9drInM0gj?= =?utf-8?q?HArpVMEtua5MhpwAJEA7AkrD1BpXTVq78fVklAURQ25TJtRb/jlvWSu+78Kd+otwA?= =?utf-8?q?cjg+rT7KexkuD1UwZdfLH7U1NpVexVSPfG4wXz34YpWKlhvdIvyPtwpCXnrvnPJEC?= =?utf-8?q?nfsqyqMA33Px6fphRoWfVnortMAQvLeT9JFJSHCEJaYDkDMmXKqFzSZSlqeDstIoH?= =?utf-8?q?p56h2o8QHfG+as1qL+7xwdCSFvEueyycot+mjxSrB+7eilNvxDqyLQAKUFmmZnvc0?= =?utf-8?q?53mBMjqH33IoGKHkeqTxgcctulINB19s1dsBj1z76korHggutTmC6U+A6liPbKvjv?= =?utf-8?q?O9oDJIvEyKqTMhp+FOS2fIlX5Bv/mGNnRCeqk/QC6Xvs0VhMNX87SN5Oaqcss470D?= =?utf-8?q?tVLLlHO5gUhIHw5gfsbFbC0R8jelYiI0r72hi9iYcsDav2dMp2YtU8kgPAs9XZLV/?= =?utf-8?q?R4rscx85419r8X+A163Hmi23fiHxp9Ypm4VLD9ZxOIjUdTMyvJN7Tx/wpDBLDHuf2?= =?utf-8?q?H9+9rC9Yidu+VKjjVtoUt1oG9ak1/WW+RWtMBiz3FcghTH8c62ANDfiCMxlKEHOXA?= =?utf-8?q?SpqxVv0Mgu3NEu8y2UikWRgpJRu6bDCJZH1oVpkJkE1f2nsO9Z371Vw4YcPKURKPx?= =?utf-8?q?oPc3SObEgAA8PTkN9r1YTwFh5SCEKFbm3cGIp3up8BbZtnBvyuQWieKDTY3nNetMY?= =?utf-8?q?3IamJh7dMBZLMIlsC4JovBVrvW7wgQAXkkUrYbbC/g21uYiRDF1ZbZJo8XJHehpIQ?= =?utf-8?q?py5SegTrIPLAzPE6nxjWFUUYnjFMpVxpPziA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV2PR10MB6186.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?25UcUIQXyzu7oTYD4ZAWcgQVapn3?= =?utf-8?q?LMsYCRTXmF8kBUc5GDicwFzntl05H80J+8s1Risw+gNzb2YtfLMTZR6i93uh6C4rd?= =?utf-8?q?GOuGshbJR02dal4cKeMVuZ1bGRnQ0eqc5qeGGctcjKx84vG1GxMwxatryP3JgHNYh?= =?utf-8?q?cGQd1M7Fkj81mU6944tmg+nAZ2CD7WhwrV3J7GeBYBemBVsoBXsO1juwzfzscjreg?= =?utf-8?q?p4yS4Uev4cRUwClpsTbxVGy8VOg5EDOh7TSRYezGFo+zjB+5eOa2pfoeDY/gCy4Nz?= =?utf-8?q?e42rtvtp5lnXX32buVeVkpxhHNy4S0tXKDLiAJ89dCVSGT+8LXd0Vu6f21dmK6Z+P?= =?utf-8?q?6jWB4TeT+JKb6BIip++OfYitZlrqSVR50MSuZ/jHCwScHSZUyEvWkwxKZ06U8E2z/?= =?utf-8?q?LJkVjp3lCkU+T9FWyVOQSLz4hng7ynZUaA8iHC+qJ4g8UtkqzJAWkho3XMBIGcVlw?= =?utf-8?q?NhA9e3kFX3D5dyujTiKpkHCEhZH3Cu19blfuvPKLQ24Ir2VbsySTqABsjVtAxIxoY?= =?utf-8?q?wO1KHnDZWywz5Yeb+eOv1HnsFO5ra4VMoRFBdmXNSK56KCc1Cx0zJJqpo2itYPNia?= =?utf-8?q?8fTJFoV97W6ZpXlvAlO39G0H5T3WWtZqIAOSljAqYMsYEnf9EEgTn/EKKYIl1OGNo?= =?utf-8?q?Y5jdEgx1lKFTRHXN1Zc4EV+JZQnBf67TQCXw9F0ghYAG8LRWN2JKM+dLrI+zIsGN9?= =?utf-8?q?pt1h2yolkkI1qhDLSKQlbLI3tLHet8bM8zp2Su9Mb/ownfWlpFsVrDnN2UY/vNShn?= =?utf-8?q?mMEMSHaXQSbBEFmVVq86WV23K2FNMgdA84+FaRFn6RPDAGAE9bUd4m9Xg6a+T8/As?= =?utf-8?q?luh3m18CqmibixebjbO7PLZMTMtzGvHXHfJQuiVUWqq/4ko0KmlaazYWEh8KNhGOO?= =?utf-8?q?hgn5vFEt0e2fG1CRlNwSjxnIxX+dn5i/+ew+e60/R61nRWSuUsav49xdGwS5EWIvm?= =?utf-8?q?kdAc0uA3uxAc79V2wdqkW+l0jMSzsBl1S3+3CeYyxTXHBwjzIBOZZu7UUGXTpTwaL?= =?utf-8?q?rCco7mSGqmC6M6TLUJLxCGrSZLA5DyOeuinxKa4/2h0qqeJx4OnbUpwmjb/9Wk3SU?= =?utf-8?q?t9w+Nl6KLRSbqSmM4j1+a8SDc5GIahz95vVXkb2XdZxat23E+6OPlcL/mh9nPzPv5?= =?utf-8?q?6Di7PgJcJAbyp0NWNrdb4I87Arweypk36PZiuV/JViIbwqus82oMLQZ9liTf8Y2rc?= =?utf-8?q?OprQ6bwawyXrgryLMBWjYghH2r34rcBjDy1m7JfkzW2S/FBCMj0g45droKMpYmz1x?= =?utf-8?q?U54tTodZ+jep+M9IXFSkVxu7z4V6yypyCLplzCegK0jz/lFLZoFpl3DJ2tSMTrBca?= =?utf-8?q?w3axh5CZzwhqNHTqaTxTYbktHjo8c/iWacmBQSako5C/qe6KoZoIamJYKEJLBKSll?= =?utf-8?q?F5lfpvk0tecqLRf0Ri2gWe4mTm7bxiBQszSePfCsFBkWaTCrsRG+UmrAL9MJ7Ux0R?= =?utf-8?q?Bh6zteALN/vUGzmRaf6KGeUsVdipwJTwXyz+WT8X0KJtlWcRz6awvtb7Wld76mH4T?= =?utf-8?q?RtjzIRAOEj3r?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: a03334eb-19d4-488a-cd3c-08dce1881622 X-MS-Exchange-CrossTenant-AuthSource: GV2PR10MB6186.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 19:42:58.4363 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ynbD0mx7hllGUxSBES/aL21nNuC/33q3990Pr4O7pAxD1LIUSdgCMCCQ4255KbZxZ2pTjBrnkL0tpc00RIxDYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR10MB8070 X-Original-Sender: jan.kiszka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=jyLfOWxs; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f403:260d::622 as permitted sender) smtp.mailfrom=jan.kiszka@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_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: Jan Kiszka Failing to unmount what was mounted via rootfs_do_mounts can cause troubles on rebuilds. Signed-off-by: Jan Kiszka --- meta/classes/image.bbclass | 21 ++------------------- meta/classes/initramfs.bbclass | 2 ++ meta/classes/rootfs.bbclass | 25 +++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 19 deletions(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index c29d9e26..1414a3ee 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -393,6 +393,8 @@ python do_deploy() { addtask deploy before do_build after do_image do_rootfs_finalize() { + rootfs_do_umounts + sudo -s <<'EOSUDO' set -e @@ -406,25 +408,6 @@ do_rootfs_finalize() { -maxdepth 1 -name 'qemu-*-static' -type f -delete fi - mountpoint -q '${ROOTFSDIR}/isar-apt' && \ - umount '${ROOTFSDIR}/isar-apt' && \ - rmdir --ignore-fail-on-non-empty ${ROOTFSDIR}/isar-apt - - mountpoint -q '${ROOTFSDIR}/base-apt' && \ - umount '${ROOTFSDIR}/base-apt' && \ - rmdir --ignore-fail-on-non-empty ${ROOTFSDIR}/base-apt - - mountpoint -q '${ROOTFSDIR}/dev/pts' && \ - umount '${ROOTFSDIR}/dev/pts' - mountpoint -q '${ROOTFSDIR}/dev/shm' && \ - umount '${ROOTFSDIR}/dev/shm' - mountpoint -q '${ROOTFSDIR}/dev' && \ - umount '${ROOTFSDIR}/dev' - mountpoint -q '${ROOTFSDIR}/proc' && \ - umount '${ROOTFSDIR}/proc' - mountpoint -q '${ROOTFSDIR}/sys' && \ - umount '${ROOTFSDIR}/sys' - if [ -e "${ROOTFSDIR}/etc/apt/sources-list" ]; then mv "${ROOTFSDIR}/etc/apt/sources-list" \ "${ROOTFSDIR}/etc/apt/sources.list.d/bootstrap.list" diff --git a/meta/classes/initramfs.bbclass b/meta/classes/initramfs.bbclass index 6886b95a..42013356 100644 --- a/meta/classes/initramfs.bbclass +++ b/meta/classes/initramfs.bbclass @@ -45,6 +45,8 @@ do_generate_initramfs() { update-initramfs -u -v ; \ fi' + rootfs_do_umounts + if [ ! -e "${INITRAMFS_ROOTFS}/initrd.img" ]; then bberror "No initramfs was found after generation!" fi diff --git a/meta/classes/rootfs.bbclass b/meta/classes/rootfs.bbclass index f0abd795..0b4ea061 100644 --- a/meta/classes/rootfs.bbclass +++ b/meta/classes/rootfs.bbclass @@ -65,6 +65,31 @@ rootfs_do_mounts() { EOSUDO } +rootfs_do_umounts() { + sudo -s <<'EOSUDO' + set -e + mountpoint -q '${ROOTFSDIR}/isar-apt' && \ + umount '${ROOTFSDIR}/isar-apt' && \ + rmdir --ignore-fail-on-non-empty ${ROOTFSDIR}/isar-apt + + mountpoint -q '${ROOTFSDIR}/base-apt' && \ + umount '${ROOTFSDIR}/base-apt' && \ + rmdir --ignore-fail-on-non-empty ${ROOTFSDIR}/base-apt + + mountpoint -q '${ROOTFSDIR}/dev/pts' && \ + umount '${ROOTFSDIR}/dev/pts' + mountpoint -q '${ROOTFSDIR}/dev/shm' && \ + umount '${ROOTFSDIR}/dev/shm' + mountpoint -q '${ROOTFSDIR}/dev' && \ + umount '${ROOTFSDIR}/dev' + mountpoint -q '${ROOTFSDIR}/proc' && \ + umount '${ROOTFSDIR}/proc' + mountpoint -q '${ROOTFSDIR}/sys' && \ + umount '${ROOTFSDIR}/sys' + +EOSUDO +} + rootfs_do_qemu() { if [ '${@repr(d.getVar('ROOTFS_ARCH') == d.getVar('HOST_ARCH'))}' = 'False' ] then