mypy/deb,fs,grub

This commit is contained in:
Marc Beninca 2024-09-13 23:55:02 +02:00
parent cd4e7403ae
commit 378a212786
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 6 additions and 10 deletions

View file

@ -14,7 +14,7 @@ def create_image(file_path: str, size_bytes: int) -> None:
ps.run(
("qemu-img", "create"),
("-f", "qcow2"),
(file_path, size_bytes),
(file_path, str(size_bytes)),
)
@ -36,9 +36,9 @@ def get_mount_uuid(path: str) -> str:
def get_path_mount(path: str) -> str:
"""Return the mountpoint path of an arbitrary path."""
return ps.run_line(
("stat",),
"stat",
("--format", "%m"),
(path,),
path,
)