tests/lcitool: Allow lcitool-refresh in out-of-tree builds, too
PATCH 1/1 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.
--- tests/lcitool/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/lcitool/Makefile.include +1 -1
@@ -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))
Signature · 1 line
2.27.0
Quoted 6 lines · 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_FILESYSTEMnot set).
Quoted 7 lines
Fix it by changing to the source directory first before updating the submodule.
Signed-off-by Thomas Huth <[email protected]>--- tests/lcitool/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 10 lines · 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_FILESYSTEMnot set).Fix it by changing to the source directory first before updating the submodule.
Signed-off-by Thomas Huth <[email protected]>
Queued to testing/next, thanks.
Signature · 1 line
Alex Bennée
Quoted 6 lines · 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_FILESYSTEMnot set).
Quoted 7 lines
Fix it by changing to the source directory first before updating the submodule.
Signed-off-by Thomas Huth <[email protected]>--- tests/lcitool/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)