xbps-src: <destdir> and <builddir> must not be in XBPS_HOSTDIR.

This commit is contained in:
Juan RP 2011-07-08 02:25:51 +02:00
parent b6c21b960b
commit 2b9aec22ea
3 changed files with 5 additions and 6 deletions

View file

@ -23,7 +23,6 @@ XBPS_MASTERDIR=$XBPS_DISTRIBUTIONDIR/masterdir
# Basically your directory must contain this structure:
#
# /yourdir
# |_ /build
# |_ /binpkgs
# |_ /repocache
# |_ /sources

View file

@ -37,12 +37,12 @@ set_defvars()
: ${XBPS_PKGMETADIR:=$XBPS_DBDIR/metadata}
: ${XBPS_SRCPKGDIR:=$XBPS_DISTRIBUTIONDIR/srcpkgs}
if [ -n "$IN_CHROOT" ]; then
: ${XBPS_DESTDIR:=/host/destdir}
: ${XBPS_DESTDIR:=/destdir}
else
: ${XBPS_DESTDIR:=$XBPS_MASTERDIR/host/destdir}
: ${XBPS_DESTDIR:=$XBPS_MASTERDIR/destdir}
fi
: ${XBPS_PACKAGESDIR:=$XBPS_MASTERDIR/host/binpkgs}
: ${XBPS_BUILDDIR:=$XBPS_MASTERDIR/host/build}
: ${XBPS_BUILDDIR:=$XBPS_MASTERDIR/builddir}
: ${XBPS_SRCDISTDIR:=$XBPS_MASTERDIR/host/sources}
: ${XBPS_TRIGGERSDIR:=$XBPS_SRCPKGDIR/xbps-triggers/files}

View file

@ -80,7 +80,7 @@ Targets:
extract [pkgname]
Extract package source distribution file(s) into the build directory.
By default set to <masterdir>/host/build.
By default set to <masterdir>/builddir.
fetch [pkgname]
Download package source distribution file(s).
@ -131,7 +131,7 @@ Options:
-c Path to global configuration file:
if not specified @@XBPS_INSTALL_ETCDIR@@/xbps-src.conf is used.
-D Only install <pkgname> to package's destination directory set
to <masterdir>/host/destdir/<pkgname>-<version>.
to <masterdir>/destdir/<pkgname>-<version>.
-h Usage output.
-K Do not remove automatic package dependencies while building
or installing a package with XBPS_PREFER_BINPKG_DEPS enabled.