Message ID | 1477505649-84103-3-git-send-email-konrad.wilk@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6A54560236 for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 26 Oct 2016 15:08:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B4CD29AE3 for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 26 Oct 2016 15:08:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FFF129BFD; Wed, 26 Oct 2016 15:08:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=2.0 tests=BAYES_00, DATE_IN_FUTURE_03_06, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AEFF729AE3 for <patchwork-xen-devel@patchwork.kernel.org>; Wed, 26 Oct 2016 15:08:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1bzPm0-0005kG-8Z; Wed, 26 Oct 2016 15:05:48 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <konrad.wilk@oracle.com>) id 1bzPly-0005jm-Uo for xen-devel@lists.xenproject.org; Wed, 26 Oct 2016 15:05:47 +0000 Received: from [193.109.254.147] by server-7.bemta-6.messagelabs.com id B2/6F-15404-A46C0185; Wed, 26 Oct 2016 15:05:46 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPIsWRWlGSWpSXmKPExsXSO6nOVdfzmEC EwfJ7uhbft0xmcmD0OPzhCksAYxRrZl5SfkUCa0Zf00ymgp+cFReP7WNsYFzA0cXIxSEkMJFJ ouHFP3YI5zejxNcdD5m6GDmBnI2MEt2/HSAS3YwSq1dPAqri4GATMJF4s8oRpEZEwFZi9oHXj CA2s0C4xP/9HWC9wgKBEhNv/mUBsVkEVCUabjcwg7TyCrhJrN0nCBKWEJCTOH/8JzOIzSngLv F17XVGkBIhoJJDvZYgYV4BQYmTM5+wgISZBdQl1s8TglgkL9G8dTYzxBRDidMPtzFOYBSchaR jFkLHLCQdCxiZVzFqFKcWlaUW6Rqa6CUVZaZnlOQmZuboGhqY6eWmFhcnpqfmJCYV6yXn525i BAYsAxDsYLy+MeAQoyQHk5Ior8FRgQghvqT8lMqMxOKM+KLSnNTiQ4wyHBxKErxRIDnBotT01 Iq0zBxg7MCkJTh4lER4Mw8DpXmLCxJzizPTIVKnGBWlxHnFQfoEQBIZpXlwbbB4vcQoKyXMyw h0iBBPQWpRbmYJqvwrRnEORiVh3tlHgKbwZOaVwE1/BbSYCWjx9HSwxSWJCCmpBkYLHh7mHGf 2nE374+Ivv+Bu6Q/kWSBuknwj7blx2fPuy5qCh+L3z/3mcuSYXcSR5X/ntG1yUbjdt0Xl8ML+ KN2I6FNfSxzEFohkX2YXiN3mEDOPbZ7Z37gvASJhjZq+Uw6/OyXLU7HXY8OapZmWzEX/i5fKB EZtqOJRX+W///7L0zfmzlG20VNiKc5INNRiLipOBAAbgBbo0gIAAA== X-Env-Sender: konrad.wilk@oracle.com X-Msg-Ref: server-8.tower-27.messagelabs.com!1477494344!57468404!1 X-Originating-IP: [141.146.126.69] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTQxLjE0Ni4xMjYuNjkgPT4gMjc3MjE4\n X-StarScan-Received: X-StarScan-Version: 9.0.13; banners=-,-,- X-VirusChecked: Checked Received: (qmail 59807 invoked from network); 26 Oct 2016 15:05:45 -0000 Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by server-8.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 26 Oct 2016 15:05:45 -0000 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u9QF5fPB009320 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 26 Oct 2016 15:05:42 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id u9QF5fff010898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 26 Oct 2016 15:05:41 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u9QF5fYX030902; Wed, 26 Oct 2016 15:05:41 GMT Received: from osstest.dumpdata.com (/209.6.196.81) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 26 Oct 2016 08:05:41 -0700 From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> To: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com Date: Wed, 26 Oct 2016 14:14:08 -0400 Message-Id: <1477505649-84103-3-git-send-email-konrad.wilk@oracle.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1477505649-84103-1-git-send-email-konrad.wilk@oracle.com> References: <1477505649-84103-1-git-send-email-konrad.wilk@oracle.com> MIME-Version: 1.0 X-Source-IP: userv0021.oracle.com [156.151.31.71] Cc: Marcos.Matsunaga@oracle.com, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Subject: [Xen-devel] [PATCH 2/3] standalong-reset: Use the $suite when recreating soft links. X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/standalone-reset b/standalone-reset index 7f34b61..c587e60 100755 --- a/standalone-reset +++ b/standalone-reset @@ -119,7 +119,7 @@ else div="${div#* }" if [ -n "$div" ] ; then rm -f "$tftp/$dibase/$arch/current-$suite" - ln -s $div "$tftp/$dibase/$arch/current-$suite" + ln -s $div-$suite "$tftp/$dibase/$arch/current-$suite" fi done fi
Commit ef3a6f2162ced5cfeb08b437315b69ad1ddbc5ed: "Add -$suite suffix to TftpDiVersion in code" forgot to include the $suite parameter when re-linking current-$suite against the <date>-$suite. Specifically after we have downloaded the debian files the $TftpDir has: konrad konrad 4096 paź 26 13:29 2016-10-26-jessi konrad konrad 17 paź 26 13:29 current-jessie -> 2016-10-26-jessi we end up removing the symlink (current-jessie) and then recreating it as: konrad konrad 4096 paź 26 13:29 2016-10-26-jessi konrad konrad 10 paź 26 13:29 current-jessie -> 2016-10-2 which is wrong as there is no '2016-10-2' directory. The patch is to add the $suite in the linking. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> --- CC: Marcos Matsunaga <Marcos.Matsunaga@oracle.com> --- standalone-reset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)