xbps-src: add informative run mode
This commit is contained in:
4
xbps-src
4
xbps-src
@@ -322,7 +322,6 @@ reconfigure_bootstrap_pkgs() {
|
||||
touch -f $statefile
|
||||
}
|
||||
|
||||
|
||||
bootstrap_update() {
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
return
|
||||
@@ -415,7 +414,7 @@ readonly XBPS_GCC_VERSION=${XBPS_GCC_VERSION_MAJOR}.${XBPS_GCC_VERSION_MINOR}.${
|
||||
# main()
|
||||
#
|
||||
XBPS_OPTIONS=
|
||||
XBPS_OPTSTRING="a:CEfgGhH:Ij:Lm:No:qr:tV"
|
||||
XBPS_OPTSTRING="a:CEfgGhH:iIj:Lm:No:qr:tV"
|
||||
|
||||
# Preprocess arguments in order to allow options before and after XBPS_TARGET.
|
||||
eval set -- $(getopt "$XBPS_OPTSTRING" "$@");
|
||||
@@ -430,6 +429,7 @@ while getopts "$XBPS_OPTSTRING" opt; do
|
||||
g) readonly XBPS_DEBUG_PKGS=1; XBPS_OPTIONS+=" -g";;
|
||||
H) readonly XBPS_HOSTDIR="$(readlink -f $OPTARG 2>/dev/null)"; XBPS_OPTIONS+=" -H $XBPS_HOSTDIR";;
|
||||
h) usage && exit 0;;
|
||||
i) export XBPS_INFORMATIVE_RUN=1; XBPS_OPTIONS+=" -i";;
|
||||
I) readonly XBPS_SKIP_DEPS=1; XBPS_OPTIONS+=" -I";;
|
||||
j) export XBPS_MAKEJOBS="$OPTARG"; XBPS_OPTIONS+=" -j $OPTARG";;
|
||||
L) export NOCOLORS=1; XBPS_OPTIONS+=" -L";;
|
||||
|
||||
Reference in New Issue
Block a user