Message ID | 20190207183744.5054-7-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1026873jaa; Thu, 7 Feb 2019 10:59:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IaLsna1X4m++7rOoJu9Npr/UlrRJi1X+Sc0HbuHgMVfBimyBu9YOk7u1JIPSaqgskvEUKkf X-Received: by 2002:a81:4cc5:: with SMTP id z188mr13848620ywa.194.1549565944588; Thu, 07 Feb 2019 10:59:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549565944; cv=none; d=google.com; s=arc-20160816; b=Q62djc6Ol6l1F7RKge+mdR3gkGwDYdulUXI20klGOG+44ejKXMtMUbdEwoXiXW8aIU AYOTKyvucHbnhBO+DGThKRe/NxDXieujjrzykLV30As52ljOFenmVqux/ZbSaOHc10i/ 1gOuHDijKcNWTh7RYPG1gwJyV3eZAH5iuc60HnPZ7qWc+Bk1ofC5gd5PVvXuNGetgJTF Cbq2RPGBQcuP+dZhTNGNgps7hMPkgPC1ROeX8HuaJbii9qLjExHoEBnZImHUaECS60xW hJwIiR+jE0J0U7q7SoJcrUkFWYjjXEAABcunE54BnKlBIgLKl9jlCKgiQAuiVkb716mh p3WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=3Uv0tUPHS97AXR5+QkXIO7BnZ5VZS3wwnm5Ld1f8b8E=; b=NVr3IpFOgrr99kU+Z2Smk1XqwIJqbARbY65m94nSffKfh8EGI8NERqks+BWMjgQc79 v5Ryq+T1DMyIqAKldXz/kc6kQsVaob+fE44C3Zc0YQIafTG2ppoQAxRuQGH06IiQ4LaS 4jr9wMm+cfN79mnsPxudAZmSJ7d5sW3u0vXvkcsU17Orr5bruGuUYGgzgOSZvs1SoKSO ztwisv/4hheC1kFZfFu/HFbD2TEx/RbY5zXWtdNO/zbzxCjXcgQApqIceb4Aqz36gla4 wGpBDq6WfH7BKwjZ8Q4gLX9ooCgnQVZFeW1Zx6hFp+MiuXOOxF+YIQaKeSsr8IHUowZf XSTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eamfVL9e; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id z65si5797636yba.96.2019.02.07.10.59.04 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 07 Feb 2019 10:59:04 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eamfVL9e; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:45398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1grot6-0000H0-3z for patch@linaro.org; Thu, 07 Feb 2019 13:59:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1groYk-0000Ii-0O for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1groYf-0007Ua-Mr for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:00 -0500 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:35984) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1groYe-0007K1-QL for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:37:57 -0500 Received: by mail-wm1-x343.google.com with SMTP id p6so952329wmc.1 for <qemu-devel@nongnu.org>; Thu, 07 Feb 2019 10:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3Uv0tUPHS97AXR5+QkXIO7BnZ5VZS3wwnm5Ld1f8b8E=; b=eamfVL9evGlsHoo0uJ5tJa1ZukgeThWBscXcHaI3TG19+72iVsxLli4FLmX8uxRYov O4Xuh8eJR7H1HAbOVND1u/gJCx6zn6d0xPKWdAQBaYVi31zdx93jUYv4sIjc1KbLjifK 69N/J1Bbs5LXogoD+z2dDEp6c0sSnk9SUZsadTH8ZLmh9T4UMUkr7lJQf9eLCt75BYVG IRblBB3vDxHoRfRTuOMjsi10B0OI1ixmwF+aRG/ELBXfCF/EdOIpEkMMn/w1lPaQPHlY GAjQHj8MGkL7oAHMymuGLuwlDW40FCJwLWodkpZVCiDCz0/AUlRwL6xHLfZnQRE7ZuMa Ruow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3Uv0tUPHS97AXR5+QkXIO7BnZ5VZS3wwnm5Ld1f8b8E=; b=l0hNKqNovnXM+WL+aXS+Fb4eOCwotrPHEjhEInVtQUkIgtStE7OlFxV0t29snfSTwg Y0kCT/qnIS4nGEs0rmJRdDMnQ/Cy9LhZuVmBLqfmii40qvgDpUA/okhrAwjG3TJPPlUu Dcg1h6yxWjtYxOsZskEWfXyM2JWh6G7ZOITDnzSWFpCeTlWaseA4ULa1PypNdMdgia6x oy12c0kLrRvz+K+lLE5464q/bMARHvz1yqXuLYk9/vjWT4e2A6i1014wkh8wdUmpYfR1 uA/uxE6I0lLI6TJvmN3s9o1NkIl5eQH3/27f5V9mKH6uHZX1doJaqtICKcxQw1d9ru3v XiUA== X-Gm-Message-State: AHQUAuYF/uQ+Ib3DPkoS7ghDz0Zpo42Pf6osUYF9VKUQ3HkkR4Ifa1JR v2GWFTC68AaqRBJje+cBk7LYbA== X-Received: by 2002:a1c:f50a:: with SMTP id t10mr8736877wmh.126.1549564671343; Thu, 07 Feb 2019 10:37:51 -0800 (PST) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 126sm121182wmd.1.2019.02.07.10.37.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 10:37:48 -0800 (PST) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DA5B11FF86; Thu, 7 Feb 2019 18:37:44 +0000 (UTC) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 7 Feb 2019 18:37:34 +0000 Message-Id: <20190207183744.5054-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207183744.5054-1-alex.bennee@linaro.org> References: <20190207183744.5054-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 Subject: [Qemu-devel] [PATCH v2 06/16] archive-source.sh: Clone the submodules locally X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@redhat.com> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
current testing/next queue (with build fixes)
|
expand
|
diff --git a/scripts/archive-source.sh b/scripts/archive-source.sh index 6eed2a29bd..d3a88f71e9 100755 --- a/scripts/archive-source.sh +++ b/scripts/archive-source.sh @@ -38,6 +38,13 @@ else fi git clone --shared . "$vroot_dir" test $? -ne 0 && error "failed to clone into '$vroot_dir'" +for sm in $submodules; do + if test -d "$sm/.git" + then + git clone --shared "$sm" "$vroot_dir/$sm" + test $? -ne 0 && error "failed to clone submodule $sm" + fi +done cd "$vroot_dir" test $? -ne 0 && error "failed to change into '$vroot_dir'"