diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 488: add missing umount command, for consistency

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

Commit Message

Antonio Terceiro Dec. 5, 2012, 7:12 p.m. UTC
------------------------------------------------------------
revno: 488
committer: Antonio Terceiro <antonio.terceiro@linaro.org>
branch nick: trunk
timestamp: Wed 2012-12-05 16:10:40 -0300
message:
  add missing umount command, for consistency
modified:
  lava_dispatcher/device/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/device/master.py'
--- lava_dispatcher/device/master.py	2012-11-30 01:57:34 +0000
+++ lava_dispatcher/device/master.py	2012-12-05 19:10:40 +0000
@@ -580,6 +580,7 @@ 
     session.run('mount /dev/disk/by-label/testboot /mnt/lava/boot')
     session._client.target_extract(session, boottbz2, '/mnt/lava')
     _recreate_uInitrd(session, target)
+    session.run('umount /mnt/lava/boot')
 
 
 def _update_uInitrd_partitions(session, rc_filename):