=== modified file 'lava_dispatcher/client/lmc_utils.py'
@@ -106,10 +106,10 @@
_run_linaro_media_create(cmd)
def generate_android_image(device, boot, data, system, ofile, size="2000M"):
- cmd = ("flock /var/lock/lava-lmc.lck sudo linaro-android-media-create "
+ cmd = ("flock /var/lock/lava-lmc.lck linaro-android-media-create "
"--dev %s --image_file %s --image_size %s "
"--boot %s --userdata %s --system %s" %
- (device, ofile, size, boot, data,system) )
+ (device, ofile, size, boot, data, system) )
logging.info("Generating android image with: %s" % cmd)
_run_linaro_media_create(cmd)