image: create new module from {image,boot,fastboot,flash}.py
This commit is contained in:
parent
afca099ede
commit
50bcd0de63
9 changed files with 18 additions and 16 deletions
|
@ -28,7 +28,7 @@ def cmd_chroot(ctx: click.Context, type: str = 'build', name: str = None, enable
|
|||
raise Exception(f'Unknown chroot type: "{type}"')
|
||||
|
||||
if type == 'rootfs':
|
||||
from image import cmd_inspect
|
||||
from image.image import cmd_inspect
|
||||
assert isinstance(cmd_inspect, click.Command)
|
||||
ctx.invoke(cmd_inspect, profile=name, shell=True)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue