summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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():