tools/osbuild-image-info: append mountpoint to mount ID

The mount ID must be unique.  So far, we were using the device as the ID
for the mount because that was unique to each mount.  With btrfs
subvolumes however, the device and partition are the same for all, so we
need another way to differentiate.
This commit is contained in:
Achilleas Koutsou 2025-01-07 18:01:42 +01:00 committed by Tomáš Hozza
parent 30d1faabdd
commit 67f344fa52

View file

@ -2755,7 +2755,7 @@ def append_partitions(report, image):
# Finally mount
mnt_kwargs = {
"name": part_device,
"name": part_device + part_mountpoint,
"info": info,
# retrieves the associated Device Object
"device": devices_map[part_device],