aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-29 13:07:15 +0300
committerCem Keylan <cem@ckyln.com>2020-05-29 13:07:15 +0300
commit36b80099c4161e7d35c353548470a09f3b560e94 (patch)
treeea5d135350a28ef3fd9d17c174b7593ba02a6810
parent21788ca1e9e1ba5d47f73dff31a2c9da1ed53718 (diff)
downloadmkrootfs-36b80099c4161e7d35c353548470a09f3b560e94.tar.gz
mkrootfs: fix rsync usage
-rwxr-xr-xmkrootfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkrootfs.sh b/mkrootfs.sh
index 92a2a88..047281a 100755
--- a/mkrootfs.sh
+++ b/mkrootfs.sh
@@ -86,7 +86,7 @@ case $REPO in
msg "Acquiring repository"
mkdir -p "$MNTDIR/var/db/kiss" /tmp
rm -rf /tmp/repo "$MNTDIR/var/db/kiss/repo"
- rsync "$REPO/" /tmp/repo
+ rsync -avCz --delete "$REPO/" /tmp/repo
cp -r /tmp/repo "$MNTDIR/var/db/kiss/repo"
;;
*)