docker: allow running from srcdir != builddir build
commitbc739b8e7d02c8010a5ab0a5f4d6ed99c1bb1d37
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2017 13:06:29 +0000 (18 15:06 +0200)
committerFam Zheng <famz@redhat.com>
Fri, 20 Oct 2017 06:28:50 +0000 (20 14:28 +0800)
tree8faee8e9dc2e0af24b809b78a67a0c936ff1e1af
parent08c3f6d57f9a95036eed1eea0571eb47605aaef4
docker: allow running from srcdir != builddir build

The new script uses "git submodule", which is picky about being invoked
from the top of the git checkout.  Invoke the script from $(SRC_PATH)
to avoid git's wrath.

Fixes: b7f404201e45e99da23b9764dec27ce5f965cdcd
Cc: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1508331989-142364-1-git-send-email-pbonzini@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
tests/docker/Makefile.include