Multiple improvements for XBPS_PREFER_BINPKG_DEPS.

- Added a new var XBPS_REPO_LIST for the conf file, to specify
  a list of remote repositories to be used in a masterdir.
- Install all required binpkgs in one pass, if that fails install
  one of them at every pass.
- Fixed xbps-src-chroot-helper to properly catch SIG{INT,QUIT}
  when -m is specified.
- Misc cosmetics improvements.

--HG--
extra : convert_revision : 0ad7d559477ccc1fc04ab09deb791343ee453de6
This commit is contained in:
Juan RP 2010-04-27 23:09:08 +02:00
parent da63915397
commit 522437b90f
5 changed files with 60 additions and 20 deletions

View file

@ -65,6 +65,7 @@ install_pkg()
#
if [ -z "$doing_deps" ]; then
install_dependencies_pkg $pkg
[ $? -ne 0 ] && return $?
#
# At this point all required deps are installed, and
# only remaining is the origin package; install it.
@ -123,7 +124,7 @@ install_pkg_with_binpkg()
msg_normal "Installing binary pkg: $pkgpattern"
${fakeroot_cmd} ${fakeroot_cmd_args} ${XBPS_BIN_CMD} \
-y install "$pkgpattern"
-y install \""$pkgpattern\""
return $?
}