[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 14/26] tests/lcitool: Allow lcitool-refresh in out-of-tree bui
From: |
Alex Bennée |
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 |
From: Thomas Huth <thuth@redhat.com>
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 <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220201085554.85733-1-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
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))
--
2.30.2
- Re: [PATCH v3 03/26] Makefile: also remove .gcno files when cleaning, (continued)
- [PATCH v3 06/26] gitmodules: Correct libvirt-ci submodule URL, Alex Bennée, 2022/02/04
- [PATCH v3 05/26] MAINTAINERS: Cover lcitool submodule with build test / automation, Alex Bennée, 2022/02/04
- [PATCH v3 08/26] drop libxml2 checks since libxml is not actually used (for parallels), Alex Bennée, 2022/02/04
- [PATCH v3 07/26] tests/lcitool: Include local qemu.yml when refreshing cirrus-ci files, Alex Bennée, 2022/02/04
- [PATCH v3 13/26] gitlab: fall back to commit hash in qemu-setup filename, Alex Bennée, 2022/02/04
- [PATCH v3 10/26] tests: Manually remove libxml2 on MSYS2 runners, Alex Bennée, 2022/02/04
- [PATCH v3 09/26] tests/lcitool: Refresh submodule and remove libxml2, Alex Bennée, 2022/02/04
- [PATCH v3 11/26] tests/lcitool: Install libibumad to cover RDMA on Debian based distros, Alex Bennée, 2022/02/04
- [PATCH v3 12/26] docs/devel: mention our .editorconfig, Alex Bennée, 2022/02/04
- [PATCH v3 14/26] tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too,
Alex Bennée <=
- [PATCH v3 26/26] plugins: move reset of plugin data to tb_start, Alex Bennée, 2022/02/04
- [PATCH v3 24/26] tests/plugins: add instruction matching to libinsn.so, Alex Bennée, 2022/02/04
- [PATCH v3 15/26] tests: Update CentOS 8 container to CentOS Stream 8, Alex Bennée, 2022/02/04
- [PATCH v3 21/26] plugins: add helper functions for coverage plugins, Alex Bennée, 2022/02/04
- [PATCH v3 22/26] contrib/plugins: add a drcov plugin, Alex Bennée, 2022/02/04
- [PATCH v3 20/26] tracing: excise the tcg related from tracetool, Alex Bennée, 2022/02/04
- [PATCH v3 25/26] target/i386: use CPU_LOG_INT for IRQ servicing, Alex Bennée, 2022/02/04