mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
Merge pull request #845 from dm0-/profiles
update_chroot: Allow upgrading glibc and binutils
This commit is contained in:
commit
eba8219a3d
@ -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=}"
|
||||
}
|
||||
|
||||
|
||||
@ -14,7 +14,6 @@ gpg --import "${GPG_SECRET_KEY_FILE}"
|
||||
sudo rm -rf src/build
|
||||
|
||||
S=/mnt/host/source/src/scripts
|
||||
enter ${S}/update_chroot
|
||||
enter sudo emerge -uv --jobs=2 catalyst
|
||||
enter sudo ${S}/bootstrap_sdk \
|
||||
--sign="${SIGNING_USER}" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user