Message ID | 20241011100050.322686-7-amikan@ilbers.de |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <isar-users+bncBCHIPONZWECRBYXOUO4AMGQES2QM7IA@googlegroups.com> Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 11 Oct 2024 12:01:14 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-pl1-f186.google.com (mail-pl1-f186.google.com [209.85.214.186]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 49BA1CxH008742 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <iupwgm@isar-build.org>; Fri, 11 Oct 2024 12:01:13 +0200 Received: by mail-pl1-f186.google.com with SMTP id d9443c01a7336-206da734c53sf20441575ad.2 for <iupwgm@isar-build.org>; Fri, 11 Oct 2024 03:01:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1728640867; cv=pass; d=google.com; s=arc-20240605; b=ZNNXuCGMmVorBTMCJ6Xiu+gyaSlsCPnbmmoQJ3Q/9a1bCf/yOX/JP3nDhYmNcjPt/s JhUNAb6ryFiR4+r8XDJvG0UBzw7GfmYuR93GAb0G1nxSwRC/+DOK0nNNNQy9iW7/IYU2 aI7ablQxgLxfqi8NRTubILicKuZ0Jbl/Ki7IXFDIArkZkBJVa/O8CbX9pwtyjfvqx+S3 pHufPqjLEwN4+Su4GeGq85LWn8rqfewTlN6bzhSQxKKa/mRvjxXewwUJR2qujGxSm4kv xPgPyCWziy04fusMtrzjGO1ionFaM35LdXtNVqpvwACyN/5guFzucP7xko6h8OnLWwQ9 2xww== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=ySYx5XyYfCYpAvuvvdY/JZ/O3UkaWDX0NQkSjkSYYCY=; fh=w45JUC3w4UHLktzAZYIx35Ax9ScZj3sBcUYF5VM94oU=; b=SpdCS+0Ct3J8Y1TJJYaJ8ArgzqOOrtRxVdB7BLJbp6+5qpCO6Gq/WJ0FyPmZkZgTeB s1gDcnnQRZrFz9wgkS86PFnOlSZ9uCTABCudFIc0/4hCt8PDlL1Y1e4YpjlNAZTJ2F0s mmLMqnAYu9+i+JlbP11etPCKISxidVJZ5uyBFIQXyVf1dzfi2+6v2uNxP5PeluVeFu5L TnrZIhv54LAyRrWdlfpY4DRANwg7sFjy+83iEZZmhMjeX4PYhwzDS1H1dHHb/jRhRSQ/ IpYsrrWTTAaIc6fE7ud71Q0W46EpctKg44p2pm9bPjAo1K+32Ufh1sRz6wp4aKIcISG+ QHCA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1728640867; x=1729245667; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=ySYx5XyYfCYpAvuvvdY/JZ/O3UkaWDX0NQkSjkSYYCY=; b=fLhvo/nLzoEDpmAPbmqwvd5FJv7XV0yZU9myzDWQrNdgBQwqUjwubJ7yvgrjPULwHz L2bS8HYQJnW7gYncMqR6jjHuYV1YcVV+PVEPWXpwRHOmYu131N8I7OEBPbEzeu0K8e0r WcfufylhtUpdyjMINAX6uRykxk4mtU0kubRJAyrf51lUNCXbklYDXNCpKkiRsb9salTV DP68VIzEsV/vXMJZG3q28HZtUqWQZ3ISkTHVo2vFaHLEkZAiWeD/PpkWZgAX3qthEJ0G g9KbXH0XKnGf54BpdTgnDV26XPDLtzCSkio8Z/aFFYPKvZdxJprzSvQ7C9xgE25sWZaf K3Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728640867; x=1729245667; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=ySYx5XyYfCYpAvuvvdY/JZ/O3UkaWDX0NQkSjkSYYCY=; b=WP+aZ8vC6ZTlAdVy7TYVHM1jfgpVjp/aTH+jWVULbyCAmdIxiUwZIRYwOvCmC6VcI8 tRztpK2J+ztHNeCDpt+e2FnEUoTTBXw/m0ohp9H3QqLDVOo937eiXxhYakSUHIhF8bvW P/v78eZDbYpl2jZgpoNXaS0jHERa6MAvmiNJHC+wNz4kKCQj1YX002zX+2x1qOWs0xNQ vaqfhc+Lr7WcFd/1SQbcXmaHStjDa22JXzoGZEh4fTh1C1ZD/FGTU3fkzGRPYEf+HVee ProExggqc1Xyw4ybmS6e8dbP1ApqKQykEywjsBEMXe8jVq9MBw6lCfd6BaWgh6pU9+dl MmhA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWxoOYuNKKf+vkuWZqTLcGnVbUSm2Vqd+ET2exCO7Y8vZyQOO7GncDQqh51cnduFMwTu5/vTaQ=@isar-build.org X-Gm-Message-State: AOJu0YyjMdWZ2q68TYITBOG80MFWQcaUMgowhiu/xQhZvfN98+WUUK/L UxRdsyMZFgjAITYeaJcFGrcRaGJdxO2/UL/oKROmr+INVXzokD69 X-Google-Smtp-Source: AGHT+IETIoQnP4pAxh0njF/sD7aTZad5z3qJWtZum0HMN9t97exrnXrZICpaEIC5mnC/p+iI2bhOQw== X-Received: by 2002:a17:903:1c6:b0:205:810a:190a with SMTP id d9443c01a7336-20ca1429edamr26076245ad.2.1728640866888; Fri, 11 Oct 2024 03:01:06 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a17:902:f64b:b0:20c:7ee8:fc58 with SMTP id d9443c01a7336-20c80a9ce09ls16353015ad.2.-pod-prod-03-us; Fri, 11 Oct 2024 03:01:06 -0700 (PDT) X-Received: by 2002:a17:902:e801:b0:20c:9821:6997 with SMTP id d9443c01a7336-20ca142a39amr20208945ad.8.1728640865659; Fri, 11 Oct 2024 03:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728640865; cv=none; d=google.com; s=arc-20240605; b=HkkEqkYDxwTqtdPDF5Nn3VZzsr3bozYCg+24rzM3TRY6G9Dqtl2Eem1gCeSkeF3CS/ u2fawh121ipPTENAkiapkmMHcy+/2uYDM7H6ixmXJ2noQVLkSVnUEdERrtjhCIkolh+W QF7aXiDzwUeokjJ4L9sd66rs4lj216BZsDPm0alRzjZ4L6X1Rj5VDOBh82q3NBA1jkS5 3PDLbaEDuwtzVPnqITbJ/7VR97SGssVQYDlIg8JwrGsl+T7PJpx3Z3fl68AVkNQEjhxR jztO+VUi2wYu33WnPPWcMfJ5Eo2zQx5HueAIZLQdUzJURdMWemNYbEFgXHYav1ESrZXG 49hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=ObYhF58yBJtCSX6wy0PkCjfIk0crapp/tvemsmN4/ro=; fh=unzF2H8SoHC4UmJ7rsp0QDWQYwP71BX6w6q8J2FCpNU=; b=QNt3R89/QFPrSqNRkmCvV+V0OtnXeSZmCe3sIY+3dpi7mi6dQJ307nmAGMPdtvvjc4 LN0AIe7ODCussLf60cc/dUY7jKGr2fzexEmKFZlm1vjtQdFc/WkxNZA+x9jyg273kx7a 14VVR5paoLsfH8GHF3E2bungOgzk1mHYKKg8qW1Jc5ywaugZF8Zkm2x+OHDAaH5VORiY EZrq02pjl755Nm54itPvb1+Roo+RI2AM7Qqr62oQGpgk9WoLBKm3cyyjfr+z5UnJ/OCE ncFubVkmF2j/QfmmK9ctW5p/zaDdzzjP0zxurkZJIr4zCcMq+eGM7oY8yqw9rnsVtcG1 CzFw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id d9443c01a7336-20c8babc7f7si1425565ad.1.2024.10.11.03.01.05 for <isar-users@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Oct 2024 03:01:05 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from user-B660.promwad.corp ([159.148.83.114]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 49BA0vWN008632 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Oct 2024 12:01:03 +0200 From: Anton Mikanovich <amikan@ilbers.de> To: isar-users@googlegroups.com Cc: Jan Kiszka <jan.kiszka@siemens.com>, Anton Mikanovich <amikan@ilbers.de> Subject: [PATCH v3 6/8] initramfs: Add missing umounts after generation Date: Fri, 11 Oct 2024 13:00:48 +0300 Message-Id: <20241011100050.322686-7-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241011100050.322686-1-amikan@ilbers.de> References: <20241011100050.322686-1-amikan@ilbers.de> MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, 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-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: <isar-users.googlegroups.com> X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: <https://groups.google.com/group/isar-users/post>, <mailto:isar-users@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:isar-users+help@googlegroups.com> List-Archive: <https://groups.google.com/group/isar-users List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>, <mailto:isar-users+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>, <https://groups.google.com/group/isar-users/subscribe> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= |
Series |
Hanging mount fixes
|
expand
|
diff -Naurp 01.txt 02.txt +tmpfs on newbuild/tmp/work/debian-bookworm-amd64/sbuild-chroot-target/1.0-r0/rootfs/dev type tmpfs (rw,nosuid,size=4096k,nr_inodes=65536,mode=755,inode64) +tmpfs on newbuild/tmp/work/debian-bookworm-amd64/isar-initramfs-qemuamd64/1.0-r0/rootfs/dev type tmpfs (rw,nosuid,size=4096k,nr_inodes=65536,mode=755,inode64) Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anton Mikanovich <amikan@ilbers.de> --- meta/classes/initramfs.bbclass | 2 ++ 1 file changed, 2 insertions(+) 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
From: Jan Kiszka <jan.kiszka@siemens.com> Failing to unmount what was mounted via rootfs_do_mounts can cause troubles on rebuilds. To reproduce: . ./isar-init-build-env newbuild mount >01.txt cat >conf/local.conf <<EOF MACHINE = "qemuamd64" DISTRO = "debian-bookworm" DISTRO_ARCH = "amd64" EOF bitbake isar-initramfs mount >02.txt