diff options
author | Thomas Huth <thuth@redhat.com> | 2022-02-04 20:43:23 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2022-02-09 12:08:42 +0000 |
commit | ab4f987c4c56a55977922595f95236890db88edf (patch) | |
tree | 9e4dee7f5bfd004b294c5c7b1668b3c0adc96538 /tests/lcitool | |
parent | 6340af7a949589cf07b5194edbbfb352734d8a3b (diff) | |
download | qemu-ab4f987c4c56a55977922595f95236890db88edf.zip qemu-ab4f987c4c56a55977922595f95236890db88edf.tar.gz qemu-ab4f987c4c56a55977922595f95236890db88edf.tar.bz2 |
tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too
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>
Message-Id: <20220204204335.1689602-15-alex.bennee@linaro.org>
Diffstat (limited to 'tests/lcitool')
-rw-r--r-- | tests/lcitool/Makefile.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lcitool/Makefile.include b/tests/lcitool/Makefile.include index cff7c0b..6b215ad 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)) |