From: "Wiktor W Brodlo" <wiktor@brodlo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/
Date: Fri, 8 Jul 2011 14:48:31 +0000 (UTC) [thread overview]
Message-ID: <21c33ba0722312d06a9852f98936c23d42c4483d.wiktor@gentoo> (raw)
commit: 21c33ba0722312d06a9852f98936c23d42c4483d
Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Fri Jul 8 14:48:19 2011 +0000
Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Fri Jul 8 14:48:19 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=21c33ba0
Install systools
---
gentoo/livecd.py | 18 ++++++++++++------
gentoo/utils.py | 7 +++++++
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/gentoo/livecd.py b/gentoo/livecd.py
index 148967b..7722670 100644
--- a/gentoo/livecd.py
+++ b/gentoo/livecd.py
@@ -121,21 +121,23 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
self._gentoo_install.write_makeconf()
self._gentoo_install.install_setup_tools()
+ action = _("Configuring Gentoo")
+ self._progress.set_label(action)
+ self._progress.set_fraction(0.0)
+
self._gentoo_install.setup_users()
self._gentoo_install.setup_language() # before ldconfig, thx
+ self._progress.set_fraction(0.1)
# if simple networking is enabled, disable NetworkManager
if self.anaconda.instClass.simplenet:
self._gentoo_install.setup_manual_networking()
else:
self._gentoo_install.setup_networkmanager_networking()
self._gentoo_install.setup_keyboard()
-
- action = _("Configuring Gentoo")
- self._progress.set_label(action)
- self._progress.set_fraction(0.9)
-
+ self._progress.set_fraction(0.2)
self._gentoo_install.setup_sudo()
self._gentoo_install.setup_audio()
+ self._progress.set_fraction(0.3)
#self._gentoo_install.setup_xorg()
#self._gentoo_install.remove_proprietary_drivers()
# TODO: This needs to be tried and fixed properly on Gentoo once installing X works
@@ -145,12 +147,14 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
# # caused by Entropy bug <0.99.47.2, remove in future
# log.error("Unable to install legacy nvidia drivers: %s" % e)
- self._progress.set_fraction(0.95)
self._gentoo_install.configure_services()
+ self._progress.set_fraction(0.4)
self._gentoo_install.copy_udev()
self._gentoo_install.env_update()
+ self._progress.set_fraction(0.5)
self._gentoo_install.spawn_chroot("locale-gen", silent = True)
self._gentoo_install.spawn_chroot("ldconfig")
+ self._progress.set_fraction(0.6)
# Fix a possible /tmp problem
self._gentoo_install.spawn("chmod a+w "+self._root+"/tmp")
var_tmp = self._root + "/var/tmp"
@@ -161,6 +165,8 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
with open(var_tmp_keep, "w") as wt:
wt.flush()
+ self._progress.set_fraction(0.7)
+ self._gentoo_install.install_systools()
action = _("Gentoo configuration complete")
self._progress.set_label(action)
self._progress.set_fraction(1.0)
diff --git a/gentoo/utils.py b/gentoo/utils.py
index 2c8e171..31850ab 100644
--- a/gentoo/utils.py
+++ b/gentoo/utils.py
@@ -1045,6 +1045,13 @@ class GentooInstall:
return "\n".join([cflags, cxxflags, chost, makeopts, gentoo_mirrors, sync, use])
+ def install_systools(self):
+ self._progress.set_text(_("Installing system tools"))
+ self.install_package(self._anaconda.cron)
+ self._progress.set_fraction(0.8)
+ self.install_package(self._anaconda.syslog)
+ self._progress.set_fraction(0.9)
+
def _get_langpacks(self):
return None
next reply other threads:[~2011-07-08 14:48 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-08 14:48 Wiktor W Brodlo [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-08-22 4:28 [gentoo-commits] proj/anaconda:master commit in: gentoo/ Wiktor W Brodlo
2011-08-22 4:28 Wiktor W Brodlo
2011-08-21 1:30 Wiktor W Brodlo
2011-08-21 1:20 Wiktor W Brodlo
2011-08-21 1:13 Wiktor W Brodlo
2011-08-21 0:34 Wiktor W Brodlo
2011-08-21 0:03 Wiktor W Brodlo
2011-08-21 0:03 Wiktor W Brodlo
2011-08-21 0:03 Wiktor W Brodlo
2011-08-17 0:25 Wiktor W Brodlo
2011-08-11 12:58 Wiktor W Brodlo
2011-07-21 22:18 Wiktor W Brodlo
2011-07-21 22:02 Wiktor W Brodlo
2011-07-21 21:14 Wiktor W Brodlo
2011-07-21 20:53 Wiktor W Brodlo
2011-07-12 3:31 Wiktor W Brodlo
2011-07-12 1:09 Wiktor W Brodlo
2011-07-11 17:53 Wiktor W Brodlo
2011-07-11 17:53 Wiktor W Brodlo
2011-07-11 17:53 Wiktor W Brodlo
2011-07-10 15:36 Wiktor W Brodlo
2011-07-10 12:13 Wiktor W Brodlo
2011-07-10 3:18 Wiktor W Brodlo
2011-07-08 22:07 Wiktor W Brodlo
2011-07-08 17:54 Wiktor W Brodlo
2011-07-08 17:19 Wiktor W Brodlo
2011-07-08 15:56 Wiktor W Brodlo
2011-07-08 15:27 Wiktor W Brodlo
2011-07-08 3:28 Wiktor W Brodlo
2011-07-08 2:35 Wiktor W Brodlo
2011-07-08 1:42 Wiktor W Brodlo
2011-07-08 0:49 Wiktor W Brodlo
2011-07-07 23:57 Wiktor W Brodlo
2011-07-07 15:40 Wiktor W Brodlo
2011-07-07 14:08 Wiktor W Brodlo
2011-07-07 2:31 Wiktor W Brodlo
2011-07-06 20:46 Wiktor W Brodlo
2011-07-06 18:20 Wiktor W Brodlo
2011-07-06 16:42 Wiktor W Brodlo
2011-07-06 14:31 Wiktor W Brodlo
2011-07-06 11:51 Wiktor W Brodlo
2011-07-06 11:19 Wiktor W Brodlo
2011-07-05 20:45 Wiktor W Brodlo
2011-07-05 18:48 Wiktor W Brodlo
2011-07-05 16:09 Wiktor W Brodlo
2011-07-05 15:38 Wiktor W Brodlo
2011-07-05 14:31 Wiktor W Brodlo
2011-07-05 14:07 Wiktor W Brodlo
2011-07-05 13:55 Wiktor W Brodlo
2011-07-05 13:29 Wiktor W Brodlo
2011-07-05 13:22 Wiktor W Brodlo
2011-07-05 13:20 Wiktor W Brodlo
2011-07-05 12:53 Wiktor W Brodlo
2011-07-04 22:47 Wiktor W Brodlo
2011-07-04 22:34 Wiktor W Brodlo
2011-07-04 22:24 Wiktor W Brodlo
2011-07-04 21:19 Wiktor W Brodlo
2011-07-04 21:02 Wiktor W Brodlo
2011-07-04 20:56 Wiktor W Brodlo
2011-07-04 20:52 Wiktor W Brodlo
2011-07-04 16:59 Wiktor W Brodlo
2011-06-27 19:20 Wiktor W Brodlo
2011-06-27 18:27 Wiktor W Brodlo
2011-06-27 13:49 Wiktor W Brodlo
2011-06-27 0:20 Wiktor W Brodlo
2011-06-27 0:05 Wiktor W Brodlo
2011-06-27 0:03 Wiktor W Brodlo
2011-06-26 23:40 Wiktor W Brodlo
2011-06-26 23:28 Wiktor W Brodlo
2011-06-26 21:08 Wiktor W Brodlo
2011-06-26 21:03 Wiktor W Brodlo
2011-06-26 21:03 Wiktor W Brodlo
2011-06-26 19:05 Wiktor W Brodlo
2011-06-25 1:42 Wiktor W Brodlo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21c33ba0722312d06a9852f98936c23d42c4483d.wiktor@gentoo \
--to=wiktor@brodlo.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox