commit 5c121cfec1467f7a56703ca8754e1f4c091b0ff1
parent 0ad16b45fadaf2f4bc2d375a56919a2f204df812
Author: Cem Keylan <cem@ckyln.com>
Date: Wed, 18 Dec 2019 10:38:49 +0300
do a shallow clone
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkrootfs.sh b/mkrootfs.sh
@@ -67,7 +67,7 @@ if [ -n "$REPO" ]; then
rm -rf /tmp/repo
git clone --depth 1 "$REPO" /tmp/repo
msg "Cloning repository to /var/db/kiss/repo"
- git clone "$REPO" "$MNTDIR/var/db/kiss/repo"
+ git clone --depth 1 "$REPO" "$MNTDIR/var/db/kiss/repo"
export KISS_PATH="${HOST_REPO_PATH:-/tmp/repo/core}"
else
msg "REPO variable does not exist, current repository