mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-apps/portage: make sync-depth message conditional
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -237,6 +237,12 @@ pkg_preinst() {
|
||||
USERSYNC_UPGRADE=false
|
||||
REPOS_CONF_UPGRADE=false
|
||||
fi
|
||||
if has_version ">=${CATEGORY}/${PN}-2.3.1" && \
|
||||
has_version "<${CATEGORY}/${PN}-2.3.3"; then
|
||||
SYNC_DEPTH_UPGRADE=true
|
||||
else
|
||||
SYNC_DEPTH_UPGRADE=false
|
||||
fi
|
||||
}
|
||||
|
||||
get_ownership() {
|
||||
@@ -357,9 +363,11 @@ pkg_postinst() {
|
||||
fi
|
||||
fi
|
||||
|
||||
ewarn "Please note that this release no longer respects sync-depth for"
|
||||
ewarn "git repositories. There have been too many problems and"
|
||||
ewarn "performance issues. See bugs 552814, 559008"
|
||||
if ${SYNC_DEPTH_UPGRADE}; then
|
||||
ewarn "Please note that this release no longer respects sync-depth for"
|
||||
ewarn "git repositories. There have been too many problems and"
|
||||
ewarn "performance issues. See bugs 552814, 559008"
|
||||
fi
|
||||
einfo ""
|
||||
einfo "This release of portage NO LONGER contains the repoman code base."
|
||||
einfo "Repoman has its own ebuild and release package."
|
||||
|
||||
Reference in New Issue
Block a user