update_chroot: Allow upgrading glibc and binutils

This commit is contained in:
David Michael 2018-10-12 17:58:09 +00:00
parent 51c9737789
commit 729575c22e

View File

@ -190,8 +190,8 @@ get_cross_pkgs() {
# Get portage arguments restricting toolchains to binary packages only.
get_binonly_args() {
local pkgs=( "${TOOLCHAIN_PKGS[@]}" $(get_cross_pkgs "$@") )
# XXX: Drop this exception after stable > 1729.
local tmppkgs=( ${pkgs[*]##*/glibc} )
# XXX: Drop this exception after stable > 1925.
local tmppkgs=( ${pkgs[*]##*/glibc} ) ; tmppkgs=( ${tmppkgs[*]##*/binutils} )
echo "${tmppkgs[@]/#/--useoldpkg-atoms=}" "${pkgs[@]/#/--rebuild-exclude=}"
}