aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmkrootfs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkrootfs.sh b/mkrootfs.sh
index 64225d5..0492b4f 100755
--- a/mkrootfs.sh
+++ b/mkrootfs.sh
@@ -67,6 +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"
+ rm -rf "$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