From patchwork Fri Feb 4 20:43:23 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: 539885 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp3566793imr; Fri, 4 Feb 2022 12:54:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxS5vfw/x9/lz4yTw7MVMj/aHu2oyGRZ+NnF//T3g3sm/DpPyp050807cLtZQhBTQO5GxgB X-Received: by 2002:a81:6fc2:: with SMTP id k185mr792268ywc.314.1644008093092; Fri, 04 Feb 2022 12:54:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644008093; cv=none; d=google.com; s=arc-20160816; b=vn2JOAUCrLY2+E7bpjTj0nqxOqO0GTyMOW1HnF1RV/gX6Pbbn2KcdqzQUQehRa07rz aBsRb1ev2zWgnMb+qw58wYt/2JTJpTPQhse5OHYzzLT7uK6/jMEm5gPvIOPh5PPKzFfv pZU8vX3HEO2JdbVaGlFOHxrgN5y+JOVI5KlnMAPeNs0rvesS1LmTe4BdzZgvxsb00qrE 1DoIYz5n+WKj8eCpE9OZGcGfbTgiQ5ouJwGB68Lxqc/z4njjX4C6EOmoCBcmErYaDN+w B1RQGZP5PGrxLu+PaTMABOjN7jBFrq5gJyGZ8hStOePQDNdrGLUzzE73ajb3A+OFgP/h U72Q== 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=1u4nTPcgCnoP5nWCHXH8kN4KACknk+m+YDzrxf6W/lA=; b=J5i9QWdrMpPBXVRWvZsd23uBZpd7ej4i2Fb5ve1eaBbSdp8UPghIG9b0zZr6aWA6dv oB5xs/Sh8IBHAzduZ3Xyt/dXLs/eURhfG4zZ+CCTnk9ZoduRP6zUrE/Cr88HZFnVh1Ow d8RYXHAExYdi1ag9IAZDDIuqc5FzhNopjCduhZJW0JOS379HMZCgMKz+G0mDcSdnCWzW xEait+7krwJeoj/7mCQANSlcpMFU8aj7rG7WyM/qB9zadSlDs2+eAAsbgAtQ6MX2X8yN 49Aemw9d3yLCiMswMevYncHSbL6eqy00EslHBJ3rufIEFmBvAd1800lMFPOr2HsNvwJH WKEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=iEA6tSnD; 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 a4si2396157ybn.767.2022.02.04.12.54.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Feb 2022 12:54:53 -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=iEA6tSnD; 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]:46828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nG5bY-0007T1-F0 for patch@linaro.org; Fri, 04 Feb 2022 15:54:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nG5R1-0006ol-Ix for qemu-devel@nongnu.org; Fri, 04 Feb 2022 15:43:59 -0500 Received: from [2a00:1450:4864:20::431] (port=43651 helo=mail-wr1-x431.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nG5Qz-0007NK-C0 for qemu-devel@nongnu.org; Fri, 04 Feb 2022 15:43:58 -0500 Received: by mail-wr1-x431.google.com with SMTP id r19so2632482wrg.10 for ; Fri, 04 Feb 2022 12:43:57 -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=1u4nTPcgCnoP5nWCHXH8kN4KACknk+m+YDzrxf6W/lA=; b=iEA6tSnDsH/F9vPYjKrNzVdSng4oSLncb8uAbMG5wljA/+o8ckt9QWV4pTn4haH2bI 0+f4kfSuckQNPiwOga2s9O+rhjxPEFezYxhutYEL72B/vZ5l6BZCCngv2/YlZqX2Lyzg ykpisJPQ31WoRgXNMkxtjHubJZtMS58oBuDF2BReJ44rhgOKFsku87kJCX4rrwvIdmbL 9jepMWGrtPU78wVsyCnMF7VD87DATHugmm1jJUzz+wm3hI2NXAYEOZDtammjhiZNEnpw Q7UwSUlPaqiT99t30fETGJR68weyaIqn2cnFwlpzzP0Gf2km7kymt5sdhYBIn9lPaTXJ 7EUw== 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=1u4nTPcgCnoP5nWCHXH8kN4KACknk+m+YDzrxf6W/lA=; b=igQ4DSxC/rTFgI+UI4hM/2dUHLutJfmGOMV7iJGLKRgUFGRdrO6IcYO+nzrCUXK9i7 yMZlbkBPdougZIc8S6YTvRonYfvbDG+Q0jd6LJzLwR9vj+9vIeTdI0WVoaEDXi3ufGLn w/b7YGa5X/LViTlqPBYoLLDw9A60dU/SXZvieHD3tJL3AY+3wQj/Wk4ZgUhwBtzWXmrL 4Ik7tmhdUMnlgtnOV237CZ6Zf32xeUFX5sgT0GxPZiElEqqm1Yiag55oaSin5SvVo8Tf XLN3+0bi3x5ABncBbduHvBFiTFr2HH1oEjsCmIw0z9P7+bVskOswoxL4vZYXk4go0+/C uuAA== X-Gm-Message-State: AOAM532pL8oBzIa48kotrU60oESHD3DDUfSSgYpk1AqMVV7DbGIs0LO0 OohT15wV4l4JUyzUKkIgwxh0ow== X-Received: by 2002:a5d:458d:: with SMTP id p13mr547103wrq.580.1644007436173; Fri, 04 Feb 2022 12:43:56 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q13sm2192719wrm.58.2022.02.04.12.43.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 12:43:53 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 83A3D1FFC6; Fri, 4 Feb 2022 20:43:36 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: richard.henderson@linaro.org, qemu-devel@nongnu.org Subject: [PATCH v3 14/26] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too Date: Fri, 4 Feb 2022 20:43:23 +0000 Message-Id: <20220204204335.1689602-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220204204335.1689602-1-alex.bennee@linaro.org> References: <20220204204335.1689602-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::431 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.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, Luke.Craig@ll.mit.edu, kuhn.chenqun@huawei.com, f4bug@amsat.org, robhenry@microsoft.com, aaron@os.amperecomputing.com, mahmoudabdalghany@outlook.com, minyihh@uci.edu, cota@braap.org, Wainer dos Santos Moschetta , stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, ma.mandourr@gmail.com, =?utf-8?q?Ale?= =?utf-8?q?x_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é Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20220201085554.85733-1-thuth@redhat.com> Signed-off-by: Alex Bennée --- 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))