mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 15:41:04 +02:00
sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit 6d76d43044be0b610edfcf4f7fda7c976f47e31e.
This commit is contained in:
parent
4cfad19d2f
commit
13f21d9b58
@ -33,7 +33,7 @@ MIN_PAX_UTILS_VER="1.3.3"
|
|||||||
MIN_SYSTEMD_VER="254.9-r1"
|
MIN_SYSTEMD_VER="254.9-r1"
|
||||||
|
|
||||||
inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \
|
inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \
|
||||||
multilib systemd multiprocessing tmpfiles
|
multilib systemd multiprocessing tmpfiles eapi9-ver
|
||||||
|
|
||||||
DESCRIPTION="GNU libc C library"
|
DESCRIPTION="GNU libc C library"
|
||||||
HOMEPAGE="https://www.gnu.org/software/libc/"
|
HOMEPAGE="https://www.gnu.org/software/libc/"
|
||||||
@ -895,16 +895,12 @@ upgrade_warning() {
|
|||||||
is_crosscompile && return
|
is_crosscompile && return
|
||||||
|
|
||||||
if [[ ${MERGE_TYPE} != buildonly && -n ${REPLACING_VERSIONS} && -z ${ROOT} ]]; then
|
if [[ ${MERGE_TYPE} != buildonly && -n ${REPLACING_VERSIONS} && -z ${ROOT} ]]; then
|
||||||
local oldv newv=$(ver_cut 1-2 ${PV})
|
if ver_replacing -lt $(ver_cut 1-2 ${PV}); then
|
||||||
for oldv in ${REPLACING_VERSIONS}; do
|
ewarn "After upgrading glibc, please restart all running processes."
|
||||||
if ver_test ${oldv} -lt ${newv}; then
|
ewarn "Be sure to include init (telinit u) or systemd (systemctl daemon-reexec)."
|
||||||
ewarn "After upgrading glibc, please restart all running processes."
|
ewarn "Alternatively, reboot your system."
|
||||||
ewarn "Be sure to include init (telinit u) or systemd (systemctl daemon-reexec)."
|
ewarn "(See bug #660556, bug #741116, bug #823756, etc)"
|
||||||
ewarn "Alternatively, reboot your system."
|
fi
|
||||||
ewarn "(See bug #660556, bug #741116, bug #823756, etc)"
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ MIN_PAX_UTILS_VER="1.3.3"
|
|||||||
MIN_SYSTEMD_VER="254.9-r1"
|
MIN_SYSTEMD_VER="254.9-r1"
|
||||||
|
|
||||||
inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \
|
inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \
|
||||||
multilib systemd multiprocessing tmpfiles
|
multilib systemd multiprocessing tmpfiles eapi9-ver
|
||||||
|
|
||||||
DESCRIPTION="GNU libc C library"
|
DESCRIPTION="GNU libc C library"
|
||||||
HOMEPAGE="https://www.gnu.org/software/libc/"
|
HOMEPAGE="https://www.gnu.org/software/libc/"
|
||||||
@ -895,16 +895,12 @@ upgrade_warning() {
|
|||||||
is_crosscompile && return
|
is_crosscompile && return
|
||||||
|
|
||||||
if [[ ${MERGE_TYPE} != buildonly && -n ${REPLACING_VERSIONS} && -z ${ROOT} ]]; then
|
if [[ ${MERGE_TYPE} != buildonly && -n ${REPLACING_VERSIONS} && -z ${ROOT} ]]; then
|
||||||
local oldv newv=$(ver_cut 1-2 ${PV})
|
if ver_replacing -lt $(ver_cut 1-2 ${PV}); then
|
||||||
for oldv in ${REPLACING_VERSIONS}; do
|
ewarn "After upgrading glibc, please restart all running processes."
|
||||||
if ver_test ${oldv} -lt ${newv}; then
|
ewarn "Be sure to include init (telinit u) or systemd (systemctl daemon-reexec)."
|
||||||
ewarn "After upgrading glibc, please restart all running processes."
|
ewarn "Alternatively, reboot your system."
|
||||||
ewarn "Be sure to include init (telinit u) or systemd (systemctl daemon-reexec)."
|
ewarn "(See bug #660556, bug #741116, bug #823756, etc)"
|
||||||
ewarn "Alternatively, reboot your system."
|
fi
|
||||||
ewarn "(See bug #660556, bug #741116, bug #823756, etc)"
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user