mbox series

[0/2] Fix leftover mounts in rootfs.bbclass

Message ID 20241002203156.149572-1-florian.bezdeka@siemens.com
Headers show
Series Fix leftover mounts in rootfs.bbclass | expand

Message

Florian Bezdeka Oct. 2, 2024, 8:31 p.m. UTC
Hi all,

this is a follow up of the umount fixes provided by Jan earlier this
week. This series depends on the series sent by Jan to be appied first. 

See [1] for details.

In my case there were mount points in 
build/tmp/work/debian-bookworm-amd64/sbuild-chroot-target/1.0-r0/rootfs/dev
left after the build completed successfully.

We have some cleanup handlers that should detect and report such issues.
It turned out that for some reason the warnings were silenced by using
bb.debug(), which is disabled by default.

Best regards,
Florian

[1] https://lists.isar-build.org/isar-users/1646de44-c244-43b3-ad57-b3bf702608b0@siemens.com/

Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Felix Moessbauer <felix.moessbauer@siemens.com>

Florian Bezdeka (2):
  rootfs: Add missing umounts in rootfs_postprocess() and
    rootfs_install()
  Revert "events: Do not warn on left mounts by default"

 meta/classes/isar-events.bbclass |  2 +-
 meta/classes/rootfs.bbclass      | 31 +++++++++++++++++++------------
 2 files changed, 20 insertions(+), 13 deletions(-)