mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-27 10:45:37 -04:00
image/image: rename losetup_rootfs_image() to losetup_setup_image()
This commit is contained in:
parent
7d9e48a652
commit
5ae07ab0ea
4 changed files with 9 additions and 9 deletions
|
@ -224,7 +224,7 @@ def get_image_path(device: Union[str, Device], flavour: Union[str, Flavour], img
|
|||
return os.path.join(config.get_path('images'), get_image_name(device, flavour, img_type))
|
||||
|
||||
|
||||
def losetup_rootfs_image(image_path: str, sector_size: int) -> str:
|
||||
def losetup_setup_image(image_path: str, sector_size: int) -> str:
|
||||
logging.debug(f'Creating loop device for {image_path} with sector size {sector_size}')
|
||||
result = run_root_cmd([
|
||||
'losetup',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue