From f39169c3cc55fc00bc74fbf3aa90a973fb83c6df Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 10 Dec 2019 03:09:21 +0300 Subject: clone repository to chroot --- mkrootfs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkrootfs.sh b/mkrootfs.sh index 7bd334a..9f905df 100755 --- a/mkrootfs.sh +++ b/mkrootfs.sh @@ -64,6 +64,8 @@ if [ -n "$REPO" ]; then # Remove if /tmp/repo already exists 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" export KISS_PATH="${HOST_REPO_PATH:-/tmp/repo/core}" else msg "REPO variable does not exist, current repository -- cgit v1.2.3