From patchwork Tue Oct 1 15:13: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: 215 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 01 Oct 2024 17:14:11 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-pj1-f56.google.com (mail-pj1-f56.google.com [209.85.216.56]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 491FE91X014049 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 1 Oct 2024 17:14:10 +0200 Received: by mail-pj1-f56.google.com with SMTP id 98e67ed59e1d1-2e08fca19b9sf5374480a91.2 for ; Tue, 01 Oct 2024 08:14:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727795644; cv=pass; d=google.com; s=arc-20240605; b=ZQtyCCcIPjGbnmQWkla3w/Is5691JQEUgeNR4topCRsoFSW+DhxdNW2GmQwXvNPBFW JbJDtBiHfrZvTNvP2wBS8Y1aliHQiry2mUk53X6l7b5UNhgBYP5hP/dRVMCOCLHDk94d +5r/JX9l+OoC3jxM4/E392Enz+Dj/ze6bYcN8TAQe9ahUFURUv8yGbVSXRAAxVGfQAqN jta8MGmEzpnW8dxluACOY4cTQSHO6A2RlUQL6iCTKXasWaH94dnZUtjVqY2mWyfHROcn kh594bXqELxtMKMAHnnUx0qlCuuXt6lcPJrRu2uYG1BzwjvQCVtV+wYAsMthH3KU9MfR KImA== 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=iD2T6xQpitKVwPpS0aqa6vxQCXVeB6bEV4RZQN32vNU=; fh=iG4QuOPXAXHVIye4tfNJJijA4RCvtLb6Lon14ncCOro=; b=OjRcwwKW3ytpSuURbHPM1B3xHJTN2CmeFhVQQ0m7NfC8yLiT4ygjSM0ylPk4kHSuhc jlBQNSMkO64aRpqOX/W3YC+noUQJ+8/WKcPp1BsFdQERLofnxbEhuBH6dzgqIX7NSNmt 2W7zN4vtcOJdvMSxPuYLeoSPC+aXXLO729eMSxFGyAysSWprXBVKVF8upJy5u+1sx6Aj GUG48RUleNPq5Q/9JsAnAYsBj+Gc6is5Et/UUy0AKOoo84vgKs4jEbwaEcnXzYFL5Vin 6rFYYbqQ4SkVR0R9ARI85j98TwUYquBdvcS4/UIyMpB1hx3g7DIb9zm1e2jdVbTyiZtm C9qg==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=a7oHgnMJ; spf=pass (google.com: domain of fm-294854-20241001151400aea6610849f16139dd-hgxvj_@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-20241001151400aea6610849f16139dd-hGXvJ_@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=1727795644; x=1728400444; 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=iD2T6xQpitKVwPpS0aqa6vxQCXVeB6bEV4RZQN32vNU=; b=D0nth1OY45FlgOO8TT0+mTpDZn+ECSKYWMe4E20AvFxpDJbTv37WdFRYx/srBnMaFt y4lFrihnc3qvlU/B9K9UtreA76cbXATIj1Mxxup3kw+ZtzuI8NvZh7qUvXIyXaeoVwrj 1SC3kpKE9TTLQZ7wWARB4bxb+QS4wIRdXpiPYiKal7h8Tt6Q4ozTZIZXLVIKmFoVFuGI VkmKKAAQWaxu5X779ARS3CrUtpEvoNuEEbg5XWbI+QQs1CMPDDs+eOOwFoybqUqepZWg a/WelJeXqKRNuDNgYf1SDe8clsTXS2+2IaRrjbq5HG1Cm1SnFjmpdnos65SIJbpLnxr7 T8MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727795644; x=1728400444; 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=iD2T6xQpitKVwPpS0aqa6vxQCXVeB6bEV4RZQN32vNU=; b=xDzrDA0W5i5AgZqntWKVfDvEDq/KfLmxu9s8y29k4RE5wBzivyZgiZFc35ehDSg0sG jodv1QqRuxve29ZQetwUC40ZSe07j2JNXamX5GD+/pfkKwVzBMMacdeAOyc8tUaJ2tP3 9DEXguXns+XaNqVgGTIKMGzBaYUpOeTaQ3ZClPOtZlDx8HDU4DlfVhW+g1yhPG35XHQU D0PJOMFUUbm5zvjU13mTra0Q9VEiHbfp7kFpiCOLu4pmBiYP/iv6Z/iogycS/gj0P03W 7MWQvUJt8Xtk08KiLfLo2qaCXtAXnhXZm1Qknz3TvFHKhr9X5/pGod+Gu4e1MDbpw1UJ BApQ== X-Forwarded-Encrypted: i=2; AJvYcCXvTUDfVQlrVIEAVBBRVhA7flaJa7gnugdcWwApWzteM5dCAozj1TNUE1pXTUiHH98unK4U9Y4=@isar-build.org X-Gm-Message-State: AOJu0Yzcn+J0CBWjBvNcX/uZKM9uo/hatjFuO/TCpS8iQ6jORYxUG02K eEh97nGAd4vNswQytllNKB2DXpogr5lFsMVqRwb48/6WeIQ6GxJ1 X-Google-Smtp-Source: AGHT+IGFkDMuVArxK0uEQ+r7ltknTq7pd1c99iU6kOvx3kH8b+zAxQmtqbJQ2Zx8jKisOXeFD5BBoA== X-Received: by 2002:a17:90a:e54a:b0:2bd:7e38:798e with SMTP id 98e67ed59e1d1-2e1848e2b89mr17926a91.28.1727795643930; Tue, 01 Oct 2024 08:14:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:90a:eac7:b0:2e0:8b1c:34eb with SMTP id 98e67ed59e1d1-2e0908c38c2ls2459857a91.0.-pod-prod-09-us; Tue, 01 Oct 2024 08:14:02 -0700 (PDT) X-Received: by 2002:a17:90a:b398:b0:2de:e798:48bc with SMTP id 98e67ed59e1d1-2e184943b82mr12833a91.33.1727795642517; Tue, 01 Oct 2024 08:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727795642; cv=none; d=google.com; s=arc-20240605; b=H20YFs3YRv05eAY6XNdC741D5hthDKsoXZWZPzPpuYppRyTnWgIi+3hJJPbWVzQxBm g2pgC3nTgpTQdaVUkNGNGea7E7j5LUcstcD5HuVI6aEwlpthmZtBu9C/BjtiEoLf6o5s DTsbZlB744h0HqDOeLU9V7PYWNnGHvnZ8LAVeMbKsHQez7gXY0dFYkDDaa+lkCfb3Oep VztKXxj2qgkQBeMjtGhaE4ve93+x3pq5MeHO7B1KYQ1bJjA4zIWh+d9kBQTEZtJ/W4r1 zJ4DMK3jfwU8RW+rx6acuCb8BnWSmQiIPBFIqUnjKgk1k76ByjeSHn2WkwA9LjpLFwYO 4pWw== 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=wtUmTLvno6qgmwokO63K2jy/Xwm+yTvoH0c4e6om0bM=; fh=gjNsleUMU++pCCGGHOTELE3rzItC14u9gn4+F3xKmnc=; b=czs6Hb2w+vVWe1r836BbJOT+cjhmdGz7t4dvC0TWadhoImHcIw7gyUKLAS1CyZO342 +CdlVc6Q/e4b+TbYvBn8lD007tgDJb07BSW3AgW4lSdPDDL4cQ5mhTFU1mboZWW5XL34 6znk6AxlEviCMfrRA2tbU05l11ovWuove/V5PtNplOhKPUUrzMQ4ci97rjF0PB20WwxE 8pyuKvyp/EFwbUeKJZOgk6Fq0JER0cBudE+YVTMx6/n+hMwu1e90+rfmOIUS9UUgDwF4 ZFl3CkueugmOoclFOfwcPL83yYytrrcDjjeL55mzvMA84uTD2TzGbQyy7q9waSYTxbSz RRMA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=a7oHgnMJ; spf=pass (google.com: domain of fm-294854-20241001151400aea6610849f16139dd-hgxvj_@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-20241001151400aea6610849f16139dd-hGXvJ_@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 98e67ed59e1d1-2e0b6c443fcsi467542a91.1.2024.10.01.08.14.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2024 08:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-294854-20241001151400aea6610849f16139dd-hgxvj_@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 20241001151400aea6610849f16139dd for ; Tue, 01 Oct 2024 17:14:00 +0200 X-Patchwork-Original-From: "'Jan Kiszka' via isar-users" From: Jan Kiszka To: isar-users Cc: Florian Bezdeka Subject: [PATCH v2 0/3] Start to address umount problems Date: Tue, 1 Oct 2024 17:13:56 +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=a7oHgnMJ; spf=pass (google.com: domain of fm-294854-20241001151400aea6610849f16139dd-hgxvj_@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-20241001151400aea6610849f16139dd-hGXvJ_@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_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?= Changes in v2: - break up the previously single patch into refactoring + fix - add a fix for prematurely failing rootfs_do_unounts Jan Kiszka (3): image: Avoid breaking the build when mounts are no longer present on umount rootfs: Provide rootfs_do_umounts initramfs: Add missing umounts after generation meta/classes/image.bbclass | 21 ++------------------- meta/classes/initramfs.bbclass | 2 ++ meta/classes/rootfs.bbclass | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 19 deletions(-) Tested-by: Florian Bezdeka