From 67f344fa52c0942a9a4878317458a92cd20dc273 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Tue, 7 Jan 2025 18:01:42 +0100 Subject: [PATCH] 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. --- tools/osbuild-image-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/osbuild-image-info b/tools/osbuild-image-info index 2e5b0a7c..8d39bc58 100755 --- a/tools/osbuild-image-info +++ b/tools/osbuild-image-info @@ -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],