diff options
author | Cem Keylan <cem@ckyln.com> | 2020-09-10 12:46:49 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-09-10 12:46:49 +0300 |
commit | 28d86c20594c066e8f7cbe1dc783f75f501704ad (patch) | |
tree | a307f571678aab179518792c0635b43a90d3a8cd | |
parent | 6f36eadf15185ce29fd49430afb03e96057b78bf (diff) | |
download | mkrootfs-28d86c20594c066e8f7cbe1dc783f75f501704ad.tar.gz |
mkrootfs: do not copy the repository to /var/db/cpt/repo
-rwxr-xr-x | mkrootfs.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mkrootfs.sh b/mkrootfs.sh index d6c54fc..2d3660c 100755 --- a/mkrootfs.sh +++ b/mkrootfs.sh @@ -75,14 +75,12 @@ case $REPO in mkdir -p "$MNTDIR/var/db/cpt" /tmp rm -rf /tmp/repo "$MNTDIR/var/db/cpt/repo" rsync -avCz --include=core --delete "$REPO/" /tmp/repo - cp -r /tmp/repo "$MNTDIR/var/db/cpt/repo" ;; *) msg "Cloning repository" mkdir -p "$MNTDIR/var/db/cpt" /tmp rm -rf /tmp/repo "$MNTDIR/var/db/cpt/repo" git clone --depth 1 "$REPO" /tmp/repo - cp -r /tmp/repo "$MNTDIR/var/db/cpt/repo" esac # Install extra repositories defined in a 'repositories' |