From 5278f1a0e5b6583388ccc7fc8d32935a44caa62c Mon Sep 17 00:00:00 2001 From: lguohan Date: Tue, 31 Jan 2017 12:04:06 -0800 Subject: [PATCH] add instructions to change git path to relative path --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3eae25214f..611ff644f0 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ If it is already cloned, however there is no files under ./dockers/docker-base/ git submodule update --init --recursive +You also need to change all git paths to relative path as we build all submodules inside the docker. + + git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $(realpath --relative-to=. $(cut -d" " -f2 .git))" > .git' + # Usage **NOTE:** In order to be more familiar with build process and make some hanges to it, it is recommended to read this short [Documentation](README.buildsystem.md)