mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-15 12:41:24 +01:00
update_chroot: Allow upgrading glibc and binutils
This commit is contained in:
parent
51c9737789
commit
729575c22e
@ -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=}"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user