Message ID | 20120321054911.18965.5245.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_dispatcher/client/master.py' --- lava_dispatcher/client/master.py 2012-03-19 22:20:07 +0000 +++ lava_dispatcher/client/master.py 2012-03-20 06:59:13 +0000 @@ -199,6 +199,7 @@ def _deploy_linaro_android_data(session, datatbz2): ##consider the compatiblity, here use the existed sdcard partition data_label = 'sdcard' + session.run('umount /dev/disk/by-label/%s' % data_label, failok=True) session.run('mkfs.ext4 -q /dev/disk/by-label/%s -L %s' % (data_label, data_label)) session.run('udevadm trigger') session.run('mkdir -p /mnt/lava/data')