public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] mount: Cleanup reference counters before build
@ 2021-06-23 11:58 Anton Mikanovich
  2021-06-25  8:19 ` Moessbauer, Felix
  2021-07-26 14:34 ` Anton Mikanovich
  0 siblings, 2 replies; 6+ messages in thread
From: Anton Mikanovich @ 2021-06-23 11:58 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

Reference counters are not cleared in case unsuccessful build happens.
So we need to force cleanup before the build.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/classes/isar-events.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/isar-events.bbclass b/meta/classes/isar-events.bbclass
index 73419b4..2f8bf6e 100644
--- a/meta/classes/isar-events.bbclass
+++ b/meta/classes/isar-events.bbclass
@@ -8,6 +8,8 @@ addhandler build_started
 
 python build_started() {
     bb.utils.remove(d.getVar('TMPDIR') + "/work/*/*/*/temp/once.*")
+    bb.utils.remove(d.getVar('TMPDIR') + "/work/*/*/*/rootfs.mount")
+    bb.utils.remove(d.getVar('TMPDIR') + "/deploy/buildchroot-*/*.mount")
 }
 build_started[eventmask] = "bb.event.BuildStarted"
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-26 14:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 11:58 [PATCH] mount: Cleanup reference counters before build Anton Mikanovich
2021-06-25  8:19 ` Moessbauer, Felix
2021-06-25 11:25   ` Anton Mikanovich
2021-06-29 13:49     ` Jan Kiszka
2021-07-05 14:30       ` Anton Mikanovich
2021-07-26 14:34 ` Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox