From patchwork Tue Feb 1 18:20:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 538977 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp1126014imr; Tue, 1 Feb 2022 14:43:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFJ3PNa2LQgxQPaO25q7dLbIzpExYTV1JbkR4w8nGEDXN9ebqK+KDd2U4zTXVU+/umEm9q X-Received: by 2002:a25:bd07:: with SMTP id f7mr37534593ybk.131.1643755418623; Tue, 01 Feb 2022 14:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643755418; cv=none; d=google.com; s=arc-20160816; b=TiptBsoSgLb4WtDb5GFqOZlA7mG8iKQ+J/1xmtftdWRpBvJnCY2PUy2R1Y5xqjmP2t YDcsLyPnpaSnLGdWlYLvdfgb6IuIZwftq49ZOiwsMtfTi33etb/BpNBrQnDUXCtutSmD tX2JhhWK9s/VrObQPkqM22obspSBImov4xREfpfC5niNPv8eUQ573uq33zHRqg7jRk1g YNZSx2fP7fA0PwHwBUXIHspwn0OJoy1tuqQOvgkN4kRJEJHl1Iw0ZXsH60Y88LngOvlF azab9vDNG+ZUam90K+W/G//TtzWpAEEL08Xnj8dgL3Zx6CLr+AmKRRuJoBH6/B8812aE eFiA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=4MsdlOLB+RpwIhJNUfsqaPM7K+H2r3p9BJR5FdDlpB4=; b=zyN2i5T1ka1Lsc3xjft61wLL5xZQ1xMp9MmT7aS/aP6AvOSuqP+oDDp7WVcrll1v9b uGgpOvC8CXGJU+nqvKu6LChkAkDEBunYX9qwsMtVGe4YK90CxH/N8j8q/eYzakcUpABA rJkY+UQeBITwWnrXu5gQuv5AKKuBLLi7zQUCkn4Uu77OnCm8IkCQY8nzka1fyaRlfwwG R32+QZbIgl5VlYPyUhl+6fg08kFcO6AbZG0cZ5atAJCXz7Zg18u3Euh5AVHjCXWW0SqZ HwcDzl3N2r4efttq0FBR6fXXO1EQZGMXhg3UZyHOwC6r/VSLh52SsrhRQwmBwlDRnWg1 z82A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GUg1zxBZ; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n3si37683464yba.444.2022.02.01.14.43.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Feb 2022 14:43:38 -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=GUg1zxBZ; 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 ([::1]:59706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF1s9-00074o-Fc for patch@linaro.org; Tue, 01 Feb 2022 17:43:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nExto-0002dq-2B for qemu-devel@nongnu.org; Tue, 01 Feb 2022 13:29:04 -0500 Received: from [2a00:1450:4864:20::42b] (port=41528 helo=mail-wr1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nExtl-0001fm-PS for qemu-devel@nongnu.org; Tue, 01 Feb 2022 13:29:02 -0500 Received: by mail-wr1-x42b.google.com with SMTP id h21so33726823wrb.8 for ; Tue, 01 Feb 2022 10:29:01 -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=4MsdlOLB+RpwIhJNUfsqaPM7K+H2r3p9BJR5FdDlpB4=; b=GUg1zxBZurmDdlfNfFihWAnGxXJZnyx2DPdr+4OJhGbNW0WxTRlH8zf+vBGge55VUf 5W5kkNzHrKfJfbPd69HYXV1qb65fK3SJNYcgWI1KyEQDXE4E79ec6Nkkc8l9WNmBXWln a63UcymMT6PWx01j9PnRBLMQ3h3NxIVunrFxWIATRXBv0UnKZEA1XE2V001F3xgzOVmH HtMd8AzYzMw3e6eX0kr/0VbrL5mUp+lv4aUbTgAypQNt/9a6g9tNEuhQwJ4fqFIcJsYp FxFKCWeCyvOwYchVGkrI9yywpiERvX5Y7DlCGiZwdv+COmH+6CVyM1Akvd8wlaTN2YWx kdXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4MsdlOLB+RpwIhJNUfsqaPM7K+H2r3p9BJR5FdDlpB4=; b=3bd9z+UgZnVnGTdciWAFaCv/iVaqsrWeGmC1dzZRoDD9H9Y9io+1GvuSSwdWa/tWs+ D650+RTVgSteuV3aR5lv/zeSOzN9HywhaTalZ7LxGVwIgZ31BMjA0DQDEw5ksvCo+AtK qjZ6kGDM3suppok2fWUW2qj0wVJ74Px3hIjG9Ia4T+IjSsl3ZIlGXWVygB1O5c+Q5knU L68jI0ocHPisghFW/Vu/q6jMYMk3gGC1mqndPa5WdDtpjchCuKo+cUlNSpXNOGMU11tU WyIiF0+ADtcAr/GvuaqwPYoa7G3VsF1P0gzeqguHZbrl95CCcwDOtztmkkelvNW8tQB1 HeYA== X-Gm-Message-State: AOAM532rHYlCmylJxFqm53ptvSBp0mRtFMlHXiAW6ed7dCfGeilk7Dy3 K0scPM1cWMY1deVqPCNL9WSscA== X-Received: by 2002:a5d:5988:: with SMTP id n8mr341147wri.81.1643740140363; Tue, 01 Feb 2022 10:29:00 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id m12sm18228854wrp.61.2022.02.01.10.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 10:28:59 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 11DAF1FFC6; Tue, 1 Feb 2022 18:20:52 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 14/25] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too Date: Tue, 1 Feb 2022 18:20:39 +0000 Message-Id: <20220201182050.15087-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220201182050.15087-1-alex.bennee@linaro.org> References: <20220201182050.15087-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , berrange@redhat.com, stefanha@redhat.com, crosa@redhat.com, aaron@os.amperecomputing.com, robhenry@microsoft.com, f4bug@amsat.org, mahmoudabdalghany@outlook.com, minyihh@uci.edu, cota@braap.org, Wainer dos Santos Moschetta , Luke.Craig@ll.mit.edu, pbonzini@redhat.com, kuhn.chenqun@huawei.com, ma.mandourr@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net, Beraldo Leal Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth When running "make lcitool-refresh" in an out-of-tree build, it currently fails with an error message from git like this: fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Fix it by changing to the source directory first before updating the submodule. Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrangé Message-Id: <20220201085554.85733-1-thuth@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- tests/lcitool/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lcitool/Makefile.include b/tests/lcitool/Makefile.include index cff7c0b814..6b215adcd1 100644 --- a/tests/lcitool/Makefile.include +++ b/tests/lcitool/Makefile.include @@ -13,5 +13,5 @@ lcitool: lcitool-help: lcitool lcitool-refresh: - $(call quiet-command, git submodule update --init $(SRC_PATH)/tests/lcitool/libvirt-ci) + $(call quiet-command, cd $(SRC_PATH) && git submodule update --init tests/lcitool/libvirt-ci) $(call quiet-command, $(LCITOOL_REFRESH))