Add installing python with USE="xml" and iproute for install

from Gentoo stage3.
develop
Mike Hiretsky 12 years ago
parent 8ddbb95ea5
commit 01c6c2698a

@ -605,7 +605,8 @@ class cl_assemble(color_print):
self.printMessageForTest(_("Installing %s")%"layman")
self.runChroot(emergeLayman)
emergePython = "USE='xml' emerge python:2.7"
# stage3 contains python-2.7 without USE="xml" need for layman
emergePython = "USE='xml' emerge -1 python:2.7"
self.printMessageForTest(_("Installing %s")%"python")
self.runChroot(emergePython)
@ -725,6 +726,10 @@ class cl_assemble(color_print):
self.printMessageForTest(
_("Enabling calculate-install to configure packages"))
if "calculate" in self.clVars.Get('os_assemble_system_profile'):
# emerge sys-apps/iproute2, because calculate-install
# need emerge with USE="minimal", but emerging
# will install iproute2 with USE="minimal" also
self.runChroot("emerge -1 sys-apps/iproute2")
self.runChroot("USE='minimal -pxe' emerge "
'sys-apps/calculate-install')
self.runChroot("cl-install --install")

Loading…
Cancel
Save