xbps-src: added -D to generate repository binary deltas; disabled for now.

This commit is contained in:
Juan RP
2014-08-14 12:28:27 +02:00
parent 5e30580d80
commit b0aedbb03a
4 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
# This hook generates vcdiffs for repository data.
hook() {
[ -z "$XBPS_REPO_DELTAS" ] && return 0
type -P xdelta3 > /dev/null || return 0
find $XBPS_REPOSITORY -name "${XBPS_TARGET_MACHINE}-repodata.genVcdiff" | xargs -r sha256sum | \

View File

@@ -1,6 +1,7 @@
# this hook marks files which are about to change for generating vcdiffs
hook() {
[ -z "$XBPS_REPO_DELTAS" ] && return 0
type -P xdelta3 > /dev/null || return 0
# create links to preserve old versions of repodata

View File

@@ -187,6 +187,7 @@ chroot_handler() {
else
[ -n "$XBPS_CROSS_BUILD" ] && arg="$arg -a $XBPS_CROSS_BUILD"
[ -n "$XBPS_KEEP_ALL" ] && arg="$arg -C"
[ -n "$XBPS_REPO_DELTAS" ] && arg="$arg -D"
[ -n "$NOCOLORS" ] && arg="$arg -L"
[ -n "$XBPS_BUILD_FORCEMODE" ] && arg="$arg -f"
[ -n "$XBPS_MAKEJOBS" ] && arg="$arg -j$XBPS_MAKEJOBS"