diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-29 13:07:15 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-29 13:07:15 +0300 |
commit | 36b80099c4161e7d35c353548470a09f3b560e94 (patch) | |
tree | ea5d135350a28ef3fd9d17c174b7593ba02a6810 | |
parent | 21788ca1e9e1ba5d47f73dff31a2c9da1ed53718 (diff) | |
download | mkrootfs-36b80099c4161e7d35c353548470a09f3b560e94.tar.gz |
mkrootfs: fix rsync usage
-rwxr-xr-x | mkrootfs.sh | 2 |
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" ;; *) |