Added flavor to the flash_system command for consistency, This fixes issue #133
This commit is contained in:
parent
48ffe79051
commit
d16c90b39c
|
@ -73,6 +73,7 @@ def list_flavors(args):
|
|||
|
||||
def system(args):
|
||||
# Generate system image, install flasher
|
||||
flavor = parse_flavor_arg(args)
|
||||
img_path = "/home/user/rootfs/" + args.device + ".img"
|
||||
if not os.path.exists(args.work + "/chroot_native" + img_path):
|
||||
setattr(args, "sdcard", None)
|
||||
|
@ -81,7 +82,7 @@ def system(args):
|
|||
|
||||
# Run the flasher
|
||||
logging.info("(native) flash system image")
|
||||
pmb.flasher.run(args, "flash_system")
|
||||
pmb.flasher.run(args, "flash_system", flavor)
|
||||
|
||||
|
||||
def list_devices(args):
|
||||
|
|
Loading…
Reference in New Issue