From 1b60fdd346946968ccc561530c8cadbc8dccd3e2 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 11 Apr 2013 23:56:52 +0000 Subject: No progress bar in configuring BE --- install | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'install') 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(): -- cgit v1.2.3