diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 234: missing failok in android deployment

Message ID 20120226222209.16293.5793.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Michael-Doyle Hudson Feb. 26, 2012, 10:22 p.m. UTC
------------------------------------------------------------
revno: 234
committer: Michael Hudson-Doyle <michael.hudson@linaro.org>
branch nick: trunk
timestamp: Mon 2012-02-27 11:17:35 +1300
message:
  missing failok in android deployment
modified:
  lava_dispatcher/client/master.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/client/master.py'
--- lava_dispatcher/client/master.py	2012-02-20 00:42:52 +0000
+++ lava_dispatcher/client/master.py	2012-02-26 22:17:35 +0000
@@ -101,7 +101,7 @@ 
 
 def _deploy_linaro_android_testboot(session, boottbz2, pkgbz2=None):
     logging.info("Deploying test boot filesystem")
-    session.run('umount /dev/disk/by-label/testboot')
+    session.run('umount /dev/disk/by-label/testboot', failok=True)
     session.run('mkfs.vfat /dev/disk/by-label/testboot '
                           '-n testboot')
     session.run('udevadm trigger')