From patchwork Wed Feb 9 14:15:15 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: 541116 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp1454158imo; Wed, 9 Feb 2022 07:52:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJza/5/guY0XlAy5As5j1j7ikclJZBsJ+5OBBg5ZvytBcUXE3M1wMyiSpjFM2XshLdB1ISPO X-Received: by 2002:a25:cb90:: with SMTP id b138mr2733340ybg.33.1644421967107; Wed, 09 Feb 2022 07:52:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644421967; cv=none; d=google.com; s=arc-20160816; b=Y0zm0HL+6Wa9+7Gm6UZD7EPKeGyUUVuPHiL5e2KNFsL9fMJu11hXmenbH6k7dfP9df y+TZWfOt/+9rTpHVQ4qeHtxIVd7Eo7QbdJAFQ9ARPDQwZLiVWpKqnBUeuyKH2bg4c3U2 8YoNgrTpy88t1i+GbRpq5ohftmKvckE7WvI1XVpWPSSNlRZ50puKIU3fmgcWvpJQjHnk u2fvDSklNN00LzBdrVm3Q7rXOXH4U2kTC36RkZ2DlJyM/aV4DFJMrfNXYkutZr08ZJ9A fw1mxkfOuTse/MA94iDro+3Q/DxHaXwuZVsX7QzhOpu4CVi17+gLrc9RgeKqHkI61vJt o3sw== 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=ZTK/dwJYHU5b0Z0hIpEUNs5Gx8mM9m+sAjjUk0LWGbw=; b=WUx97mMxqdieyG7AwiCsKIabpIL8elElBy9s/L9zQVSFWO621KiwGA13cUtCBTIvcB UBeWzvbu8uKyZf3OwLHge7Sm5Nim6Wvnfe4uMoin8dmW6l8a+gj6Xw13O+PUD81qOJpB 5TMxPW33Q22c0XgYt9OobkXvnat2f/m2yJmvwPppzxc0LdJcua72is8IrGZYP4m9pOls s7xkDp6u/bVgUQc/joh3fd3WXmducEkuAJ+cyJ21dY6fjHcnA8Fvp8STeKN41AQaR7l4 31fXtrqKoAaEVoiqWxgzAE1uIPGZT8jhwmFFYPF0c3z3R0uEmUaNi4ks6uC/Cpw0m/Pf R6DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BCL2G44q; 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 c7si9316870ywa.67.2022.02.09.07.52.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Feb 2022 07:52:47 -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=BCL2G44q; 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]:60170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHpGv-0007aQ-7V for patch@linaro.org; Wed, 09 Feb 2022 10:52:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHnlk-0002zu-8d for qemu-devel@nongnu.org; Wed, 09 Feb 2022 09:16:28 -0500 Received: from [2a00:1450:4864:20::630] (port=42530 helo=mail-ej1-x630.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHnlJ-0007sA-2w for qemu-devel@nongnu.org; Wed, 09 Feb 2022 09:16:08 -0500 Received: by mail-ej1-x630.google.com with SMTP id m4so7692832ejb.9 for ; Wed, 09 Feb 2022 06:15:47 -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=ZTK/dwJYHU5b0Z0hIpEUNs5Gx8mM9m+sAjjUk0LWGbw=; b=BCL2G44qwj0s/w88k87ad+VB8sv8zMjhEmcIPKCA7r33DfYGNlVAYzMFLcyKk698A3 ZR89T4Ppr81egcZFNzydqnnqQrlKnrdsCOFT39lCiJx+yfFcnHFowGTJ5lBQv6ML5G9d ABvlapDSZosizkYMS/zxzNoFx0LAJfaVFyIovRoTMpQk9b3JaPmJxSk46QtLMTHWorHx 6h+nyUb9ohk4OgkLlUAts2FdbDBdlBlYROlxoZZ3JpN8Uj196bS4SX0oTWlzQDW3P5+F oQuOOYQMUcCQdMWHnLBr1RswBHLz35NWpcskSvI95qbjW7xcH11FJZatwSzSs7ibCP3J Y56Q== 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=ZTK/dwJYHU5b0Z0hIpEUNs5Gx8mM9m+sAjjUk0LWGbw=; b=p9L/C0AvZ5su/PYQRNTuQotSP/h3E9OqVxtUZCldvBdKWm/JW0+XLHkFVaRtQw2TKk a2PauUktgdY2uz/UYWg84P46xAW1bXZsBj99j/bbuWu5fWGiHN9g/L9bp5h3B42AnQnQ OivUwkcXYF0jkahNcJv0WBwxlX9AVWQ68wLatVAsBXNj4Fe7VLYLizaRlGHLzb2Iw3yp cSKT+Enm61eVf1pqVJM/geTE6uxdxjQRaNXqc4iCXvpekK5U+CuAeNT2ZDydL5nGxmyc 3EvKK7inMFyN4HpI/pxv63tt46HH9GYgIGMX+7hrgY18gDmW4RA43cxK/dCirTnVUgNQ e+Xw== X-Gm-Message-State: AOAM532staiqlZTCFtKEvXEwwXbM8WmG2VDQ3xAfEDD2WpJHAUN8Bxn7 ph8NUQT4Izo7QXDa+PVXyC4BEA== X-Received: by 2002:a17:907:7294:: with SMTP id dt20mr2161296ejc.535.1644416146293; Wed, 09 Feb 2022 06:15:46 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id yr3sm4359270ejb.166.2022.02.09.06.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 06:15:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 8A4D91FFC6; Wed, 9 Feb 2022 14:15:30 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 14/28] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too Date: Wed, 9 Feb 2022 14:15:15 +0000 Message-Id: <20220209141529.3418384-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220209141529.3418384-1-alex.bennee@linaro.org> References: <20220209141529.3418384-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::630 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x630.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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: Thomas Huth , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , Beraldo Leal , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= 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 Message-Id: <20220204204335.1689602-15-alex.bennee@linaro.org> 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))