mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add progressbar on grub
This commit is contained in:
parent
39c4c93a99
commit
33d8d7e812
1 changed files with 1 additions and 2 deletions
|
@ -774,7 +774,6 @@ _grub_install_bios() {
|
||||||
# freeze and unfreeze xfs filesystems to enable grub(2) installation on xfs filesystems
|
# freeze and unfreeze xfs filesystems to enable grub(2) installation on xfs filesystems
|
||||||
_freeze_xfs
|
_freeze_xfs
|
||||||
_chroot_mount
|
_chroot_mount
|
||||||
sleep 2
|
|
||||||
chroot "${_DESTDIR}" grub-install \
|
chroot "${_DESTDIR}" grub-install \
|
||||||
--directory="/usr/lib/grub/i386-pc" \
|
--directory="/usr/lib/grub/i386-pc" \
|
||||||
--target="i386-pc" \
|
--target="i386-pc" \
|
||||||
|
@ -788,7 +787,7 @@ _grub_install_bios() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_grub_bios() {
|
_grub_bios() {
|
||||||
touch ./archboot
|
touch /.archboot
|
||||||
_grub_install_bios &
|
_grub_install_bios &
|
||||||
_progress_wait "11" "99" "Setting up GRUB(2) BIOS..." "0.1"
|
_progress_wait "11" "99" "Setting up GRUB(2) BIOS..." "0.1"
|
||||||
_progress "100" "Setting up GRUB(2) BIOS completed."
|
_progress "100" "Setting up GRUB(2) BIOS completed."
|
||||||
|
|
Loading…
Reference in a new issue