xbps-src: remove fakeroot stuff completely.

This commit is contained in:
Juan RP 2014-09-24 20:32:21 +02:00
parent fa816951c2
commit d75238b0d8

View file

@ -306,7 +306,6 @@ readonly XBPS_VERSION_REQ="0.38"
readonly XBPS_VERSION=$(xbps-uhelper -V|awk '{print $2}') readonly XBPS_VERSION=$(xbps-uhelper -V|awk '{print $2}')
readonly XBPS_SRC_VERSION="113" readonly XBPS_SRC_VERSION="113"
readonly FAKEROOT_CMD="fakeroot --"
readonly XBPS_MACHINE=$(uname -m) readonly XBPS_MACHINE=$(uname -m)
# #
@ -466,7 +465,7 @@ export XBPS_SHUTILSDIR XBPS_CROSSPFDIR XBPS_TRIGGERSDIR \
XBPS_CCACHE XBPS_DISTCC XBPS_DISTCC_HOSTS XBPS_SKIP_DEPS \ XBPS_CCACHE XBPS_DISTCC XBPS_DISTCC_HOSTS XBPS_SKIP_DEPS \
XBPS_SKIP_REMOTEREPOS XBPS_CROSS_BUILD XBPS_PKG_OPTIONS \ XBPS_SKIP_REMOTEREPOS XBPS_CROSS_BUILD XBPS_PKG_OPTIONS \
XBPS_CONFIG_FILE XBPS_KEEP_ALL XBPS_HOSTDIR XBPS_MASTERDIR \ XBPS_CONFIG_FILE XBPS_KEEP_ALL XBPS_HOSTDIR XBPS_MASTERDIR \
XBPS_SRC_VERSION XBPS_DESTDIR FAKEROOT_CMD CHROOT_CMD XBPS_MACHINE XBPS_SRC_VERSION XBPS_DESTDIR CHROOT_CMD XBPS_MACHINE
for i in REPOSITORY DESTDIR BUILDDIR SRCDISTDIR; do for i in REPOSITORY DESTDIR BUILDDIR SRCDISTDIR; do
eval val="\$XBPS_$i" eval val="\$XBPS_$i"
@ -562,7 +561,7 @@ case "$XBPS_TARGET" in
else else
pkgver=xbps-src pkgver=xbps-src
remove_pkg_autodeps remove_pkg_autodeps
${FAKEROOT_CMD} ${XBPS_INSTALL_CMD} -yu ${XBPS_INSTALL_CMD} -yu
fi fi
;; ;;
chroot) chroot)