From patchwork Fri Jan 13 10:26:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spring Zhang X-Patchwork-Id: 6178 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 27EFB23E01 for ; Fri, 13 Jan 2012 10:26:16 +0000 (UTC) Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by fiordland.canonical.com (Postfix) with ESMTP id 0D720A182A9 for ; Fri, 13 Jan 2012 10:26:16 +0000 (UTC) Received: by bkbzu5 with SMTP id zu5so2677314bkb.11 for ; Fri, 13 Jan 2012 02:26:15 -0800 (PST) Received: by 10.204.41.143 with SMTP id o15mr59471bke.63.1326450375719; Fri, 13 Jan 2012 02:26:15 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.82.144 with SMTP id ac16cs25874bkc; Fri, 13 Jan 2012 02:26:15 -0800 (PST) Received: by 10.180.96.7 with SMTP id do7mr7540318wib.16.1326450373893; Fri, 13 Jan 2012 02:26:13 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id du1si2712082wib.3.2012.01.13.02.26.13 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Jan 2012 02:26:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RleKr-0003Wx-BN for ; Fri, 13 Jan 2012 10:26:13 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 45E66E042C for ; Fri, 13 Jan 2012 10:26:13 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 190 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [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> Date: Fri, 13 Jan 2012 10:26:13 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14664"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: d5d80055ecd50cd48c17e17015d33e9231dc9f6c 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 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 === 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)