From 5c121cfec1467f7a56703ca8754e1f4c091b0ff1 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 18 Dec 2019 10:38:49 +0300 Subject: do a shallow clone --- mkrootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkrootfs.sh b/mkrootfs.sh index d141380..64225d5 100755 --- 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 -- cgit v1.2.3