diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-04-11 23:56:52 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-04-11 23:56:52 +0000 |
commit | 1b60fdd346946968ccc561530c8cadbc8dccd3e2 (patch) | |
tree | 6db58db7c6d13975a409c1084afa162cb1c8e25c /install | |
parent | 2e123b1261fe6099b4787e2e8ef6637652b9d0f5 (diff) | |
download | live-1b60fdd346946968ccc561530c8cadbc8dccd3e2.tar.gz |
No progress bar in configuring BE
Diffstat (limited to 'install')
-rwxr-xr-x | install | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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(): |