diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 190: Add gzip -f option to force overwrite to avoid input

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

Commit Message

Spring Zhang Jan. 13, 2012, 10:26 a.m. UTC
Merge authors:
  Spring Zhang (qzhang)
Related merge proposals:
  https://code.launchpad.net/~qzhang/lava-dispatcher/fix-915793/+merge/88448
  proposed by: Spring Zhang (qzhang)
  review: Approve - Zygmunt Krynicki (zkrynicki)
------------------------------------------------------------
revno: 190 [merge]
committer: Spring Zhang <spring.zhang@linaro.org>
branch nick: fix-915793
timestamp: Fri 2012-01-13 18:23:57 +0800
message:
  Add gzip -f option to force overwrite to avoid input
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-01-12 20:38:57 +0000
+++ lava_dispatcher/client/master.py	2012-01-13 03:52:53 +0000
@@ -136,7 +136,7 @@ 
     session.run('dd if=uInitrd of=uInitrd.data ibs=64 skip=1')
     session.run('mv uInitrd.data ramdisk.cpio.gz')
     session.run(
-        'gzip -d ramdisk.cpio.gz; cpio -i -F ramdisk.cpio')
+        'gzip -d -f ramdisk.cpio.gz; cpio -i -F ramdisk.cpio')
     session.run(
         'sed -i "/mount ext4 \/dev\/block\/mmcblk0p%s/d" init.rc'
         % cache_part_org)