From 27e96f018ba9385683f36f570e1f7bf495e6c5c7 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 12 Aug 2014 08:28:43 +0200 Subject: [PATCH] common/hooks: enable repackaging of indexes for xdelta --- common/hooks/post-pkg/01-xdelta_repolist.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/post-pkg/01-xdelta_repolist.sh b/common/hooks/post-pkg/01-xdelta_repolist.sh index d5f2099b3f6..b2b9846ce08 100644 --- a/common/hooks/post-pkg/01-xdelta_repolist.sh +++ b/common/hooks/post-pkg/01-xdelta_repolist.sh @@ -10,7 +10,7 @@ hook() { if ! cmp -s "${newfile}" "${oldfile}"; then newdiff="${newfile}.${chk}.vcdiff" - xdelta3 -D -R -f -e -s "${oldfile}" "${newfile}" "${newdiff}" + xdelta3 -f -e -s "${oldfile}" "${newfile}" "${newdiff}" for diff in ${newfile}.*.vcdiff; do [ "${diff}" = "${newdiff}" ] && continue; cp -- "${diff}" "${diff}.tmp" @@ -21,7 +21,7 @@ hook() { # generate an empty diff to the new file newchk=`sha256sum ${newfile} | awk '{ print $1 }'` - xdelta3 -D -R -f -e -s "${newfile}" "${newfile}" \ + xdelta3 -f -e -s "${newfile}" "${newfile}" \ "${newfile}.${newchk}.vcdiff" rm -- "${oldfile}"