diff --git a/bootstrap-prefix.sh b/bootstrap-prefix.sh index 1c6c42d..7998587 100755 --- a/bootstrap-prefix.sh +++ b/bootstrap-prefix.sh @@ -493,6 +493,17 @@ bootstrap_setup() { >=sys-devel/gcc-11 EOF + # bug #824482 avoid glibc-2.34 + if is-rap; then + if ! [ -d "${ROOT}"/etc/portage/package.mask ]; then + mkdir "${ROOT}"/etc/portage/package.mask + fi + cat >> "${ROOT}"/etc/portage/package.mask/glibc <<-EOF + # bug #824482 avoid glibc-2.34 + ~sys-libs/glibc-2.34 + EOF + fi + # Use package.use to disable in the portage tree to be shared between # stage2 and stage3. The hack will be undone during tree sync in stage3. cat >> "${ROOT}"/etc/portage/make.profile/package.use <<-EOF