From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: isar-users <isar-users@googlegroups.com>
Cc: Florian Bezdeka <florian.bezdeka@siemens.com>
Subject: [PATCH v2 3/3] initramfs: Add missing umounts after generation
Date: Tue, 1 Oct 2024 17:13:59 +0200 [thread overview]
Message-ID: <3d2094cf49cca93e49b4e779cd29281f6016f824.1727795639.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1727795639.git.jan.kiszka@siemens.com>
From: Jan Kiszka <jan.kiszka@siemens.com>
Failing to unmount what was mounted via rootfs_do_mounts can cause
troubles on rebuilds.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
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
--
2.43.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/3d2094cf49cca93e49b4e779cd29281f6016f824.1727795639.git.jan.kiszka%40siemens.com.
next prev parent reply other threads:[~2024-10-01 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-01 15:13 [PATCH v2 0/3] Start to address umount problems 'Jan Kiszka' via isar-users
2024-10-01 15:13 ` [PATCH v2 1/3] image: Avoid breaking the build when mounts are no longer present on umount 'Jan Kiszka' via isar-users
2024-10-01 15:13 ` [PATCH v2 2/3] rootfs: Provide rootfs_do_umounts 'Jan Kiszka' via isar-users
2024-10-01 15:13 ` 'Jan Kiszka' via isar-users [this message]
2024-10-01 22:33 ` [PATCH v2 0/3] Start to address umount problems 'Florian Bezdeka' via isar-users
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d2094cf49cca93e49b4e779cd29281f6016f824.1727795639.git.jan.kiszka@siemens.com \
--to=isar-users@googlegroups.com \
--cc=florian.bezdeka@siemens.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox