diff options
-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(): |