summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-04-11 23:56:52 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-04-11 23:56:52 +0000
commit1b60fdd346946968ccc561530c8cadbc8dccd3e2 (patch)
tree6db58db7c6d13975a409c1084afa162cb1c8e25c /install
parent2e123b1261fe6099b4787e2e8ef6637652b9d0f5 (diff)
downloadlive-1b60fdd346946968ccc561530c8cadbc8dccd3e2.tar.gz
No progress bar in configuring BE
Diffstat (limited to 'install')
-rwxr-xr-xinstall5
1 files changed, 1 insertions, 4 deletions
diff --git a/install b/install
index 98147dd..de715bc 100755
--- a/install
+++ b/install
@@ -656,18 +656,15 @@ def in_bootenv(cmd):
return call(chroot, stderr=PIPE, stdout=PIPE)
def configure_bootenv():
- progress = ProgressBar(screen, title='Configuring Dyson boot environment', width=50)
+ progress = ProgressMessage(screen, title='Configuring Dyson boot environment', width=50)
progress.text = 'Preparing chroot ...'
call(['mount', '-F' , 'lofs', '/devices', rootdir + '/devices'], stdout=PIPE, stderr=PIPE)
call(['mount', '-F' , 'fd', '-', rootdir + '/dev/fd'], stdout=PIPE, stderr=PIPE)
call(['mount', '-F' , 'proc', '-', rootdir + '/proc'], stdout=PIPE, stderr=PIPE)
- progress.progress = 10
progress.text = 'Updating devices ...'
in_bootenv(['/sbin/devfsadm'])
- progress.progress = 40
progress.text = 'Updating boot archive, please wait ...'
in_bootenv(['/sbin/bootadm', 'update-archive'])
- progress.progress = 80
def cleanup():