tools/osbuild-image-info: print fstype in error
Print the unrecognised fstype string when failing.
This commit is contained in:
parent
0553465306
commit
fc4232af63
1 changed files with 1 additions and 1 deletions
|
|
@ -2649,7 +2649,7 @@ def append_partitions(report, image):
|
|||
elif "xfs" in part_fstype:
|
||||
info = index.get_module_info("Mount", "org.osbuild.xfs")
|
||||
else:
|
||||
raise RuntimeError("Unknown file system")
|
||||
raise RuntimeError(f"Unknown file system: {part_fstype}")
|
||||
if not info:
|
||||
raise RuntimeError(f"Can't find org.osbuild.{part_fstype}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue