From patchwork Mon Sep 23 12:55:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Milo Casagrande X-Patchwork-Id: 20530 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4BB7A246ED for ; Mon, 23 Sep 2013 12:55:36 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id r5sf3048271qcx.0 for ; Mon, 23 Sep 2013 05:55:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:to:from:subject :message-id:date:reply-to:sender:errors-to:precedence :x-original-sender:x-original-authentication-results:mailing-list :list-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=nQdFe0W0lGCoCTHhhd5gRHKp9Rrx40wL9UpFUNK2l1A=; b=Tc9WEzQBw5JI5me4aLT6Jv89xZJ8doq7enq1QfSaAwaaOix+tNjFVm5n/S0Oprcy48 oOnPJJUEIo5RjGpX0tFNijRcyc4Kr0qLgHHtVXr16DOVPZNCqSAHD/EZYVYsAHmhP2qW BXkKxl89sNPhPaT4sOUBUBW85an5oB3M7r/MbaRPSPdvI4p4h5Z2qO0LjxkK8LAK7UEl qmNvBWiHcsKuUSdqVdAIWiIgP6OxHzGlnQmf3AAqvezJZRou+cfx2h1d9aT9swduT7nQ PxF63YbExkrm6Iood356h5JnQa8gRJFDA3L4FRf5AznHnx2Qvnw5HnkNWpwnNEqFiYj6 z87w== X-Gm-Message-State: ALoCoQnhmiuUI0+hTbpLcs0WF4xUGCtdtCbYl7vSUaCiBr2sSsZw2DznjFTITn7NmHKEg5T4eHsP X-Received: by 10.224.97.1 with SMTP id j1mr4207286qan.6.1379940935556; Mon, 23 Sep 2013 05:55:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.231 with SMTP id n7ls1171724qen.14.gmail; Mon, 23 Sep 2013 05:55:35 -0700 (PDT) X-Received: by 10.58.218.225 with SMTP id pj1mr1235521vec.24.1379940935423; Mon, 23 Sep 2013 05:55:35 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id dj3si6731670vcb.119.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Sep 2013 05:55:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id jz11so2299501veb.11 for ; Mon, 23 Sep 2013 05:55:35 -0700 (PDT) X-Received: by 10.58.161.116 with SMTP id xr20mr21841266veb.2.1379940934885; Mon, 23 Sep 2013 05:55:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp157525vcz; Mon, 23 Sep 2013 05:55:34 -0700 (PDT) X-Received: by 10.224.151.82 with SMTP id b18mr996400qaw.125.1379940934196; Mon, 23 Sep 2013 05:55:34 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id ho2si11981438qeb.24.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Sep 2013 05:55:34 -0700 (PDT) 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; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1VO5fp-00032A-Ay for ; Mon, 23 Sep 2013 12:55:33 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 4403CE0135 for ; Mon, 23 Sep 2013 12:55:33 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 643 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-image-tools/linaro-image-tools/trunk] Rev 643: Rename file after copy for FastModel. Message-Id: <20130923125533.21118.85850.launchpad@ackee.canonical.com> Date: Mon, 23 Sep 2013 12:55:33 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16771"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 208bd1314f35a0a8a06dce0328a02747a0c75a6b X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ------------------------------------------------------------ revno: 643 author: Ryan Harkin committer: Milo Casagrande branch nick: trunk timestamp: Mon 2013-09-23 11:55:03 +0200 message: Rename file after copy for FastModel. modified: linaro_image_tools/media_create/boards.py --- lp:linaro-image-tools https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk You are subscribed to branch lp:linaro-image-tools. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription === modified file 'linaro_image_tools/media_create/boards.py' --- linaro_image_tools/media_create/boards.py 2013-09-19 15:48:23 +0000 +++ linaro_image_tools/media_create/boards.py 2013-09-23 09:55:03 +0000 @@ -1442,6 +1442,18 @@ copy_drop(filename, output_dir) cmd_runner.run(["cp", "-v", filename, boot_dir], as_root=True).wait() + # Rename the kernel from Image-* to Image + if k_img_data is not None: + cmd_runner.run(["mv", "-v", + os.path.join(output_dir, + os.path.basename(k_img_data)), + os.path.join(output_dir, "Image")], + as_root=True).wait() + cmd_runner.run(["mv", "-v", + os.path.join(boot_dir, + os.path.basename(k_img_data)), + os.path.join(boot_dir, "Image")], + as_root=True).wait() class SamsungConfig(BoardConfig):