xbps-src: added -D to generate repository binary deltas; disabled for now.
This commit is contained in:
parent
5e30580d80
commit
b0aedbb03a
4 changed files with 8 additions and 2 deletions
7
xbps-src
7
xbps-src
|
@ -116,6 +116,8 @@ Options:
|
|||
-C Do not remove build directory, automatic dependencies and
|
||||
package destdir after successful install.
|
||||
|
||||
-D Generate repository binary diffs (deltas) via xdelta3.
|
||||
|
||||
-f Force building and registering binary packages into the local repository,
|
||||
even if same version is already registered.
|
||||
|
||||
|
@ -318,10 +320,11 @@ readonly XBPS_MACHINE=$(uname -m)
|
|||
#
|
||||
XBPS_OPTIONS=
|
||||
|
||||
while getopts "a:CfgGhH:Ij:Lm:No:r:V" opt; do
|
||||
while getopts "a:CDfgGhH:Ij:Lm:No:r:V" opt; do
|
||||
case $opt in
|
||||
a) readonly XBPS_CROSS_BUILD="$OPTARG"; XBPS_OPTIONS+="-a $OPTARG ";;
|
||||
C) readonly XBPS_KEEP_ALL=1; XBPS_OPTIONS+="-C ";;
|
||||
D) readonly XBPS_REPO_DELTAS=1; XBPS_OPTIONS+=" -D";;
|
||||
f) readonly XBPS_BUILD_FORCEMODE=1; XBPS_OPTIONS+="-f ";;
|
||||
G) readonly XBPS_USE_GIT_REVS=1; XBPS_OPTIONS+="-G ";;
|
||||
g) readonly XBPS_DEBUG_PKGS=1; XBPS_OPTIONS+="-g ";;
|
||||
|
@ -459,7 +462,7 @@ if [ -s $XBPS_MASTERDIR/.xbps_chroot_init ]; then
|
|||
fi
|
||||
|
||||
export XBPS_SHUTILSDIR XBPS_CROSSPFDIR XBPS_TRIGGERSDIR \
|
||||
XBPS_SRCPKGDIR XBPS_COMMONDIR XBPS_BUILDDIR \
|
||||
XBPS_SRCPKGDIR XBPS_COMMONDIR XBPS_BUILDDIR XBPS_REPO_DELTAS \
|
||||
XBPS_REPOSITORY XBPS_ALT_REPOSITORY XBPS_SRCDISTDIR XBPS_DIGEST_CMD \
|
||||
XBPS_UHELPER_CMD XBPS_INSTALL_CMD XBPS_QUERY_CMD \
|
||||
XBPS_RINDEX_CMD XBPS_RECONFIGURE_CMD XBPS_REMOVE_CMD \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue