portage._compat_upgrade.binpkg_multi_instance module¶
- portage._compat_upgrade.binpkg_multi_instance.main()¶
If the current installation is still has binpkg-multi-instance disabled, then patch make.globals inside ${ED} to maintain backward compatibility. This is intended to be called from the ebuild as follows:
- pkg_preinst() {
python_setup env -u FEATURES -u PORTAGE_REPOSITORIES PYTHONPATH=”${D}$(python_get_sitedir)${PYTHONPATH:+:${PYTHONPATH}}” “${PYTHON}” -m portage._compat_upgrade.binpkg_multi_instance || die
}