dissect-image: use loop backing file or device node as name of the image

Note, currently, for each call of dissect_loop_device_and_warn(), the
specified name is equivalent to the path passed to loop_device_make_by_path().
Hence, this should not change the current behavios.
This commit is contained in:
Yu Watanabe
2022-09-07 20:45:24 +09:00
parent 55a065cd30
commit 64dd3a245f
5 changed files with 5 additions and 9 deletions
-1
View File
@@ -5754,7 +5754,6 @@ static int run(int argc, char *argv[]) {
}
r = dissect_loop_device_and_warn(
arg_image,
loop,
&arg_verity_settings,
NULL,