mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix progress 100
This commit is contained in:
parent
8b6214f208
commit
01b9d7531e
1 changed files with 2 additions and 3 deletions
|
@ -111,12 +111,11 @@ _second_stage() {
|
|||
umount -q -A UUID=1234-ABCD 2>/dev/null && break
|
||||
read -r -t 1
|
||||
done
|
||||
_progress "98" "${_KEEP} Cleanup /sysroot..."
|
||||
_progress "100" "The boot medium can be safely removed now."
|
||||
read -r -t 2
|
||||
# remove mkinitcpio files and directories
|
||||
rm -rf /sysroot/{hooks,install,kernel,new_root,sysroot} &>/dev/null
|
||||
rm -f /sysroot/{VERSION,config,buildconfig,init} &>/dev/null
|
||||
_progress "100" "The boot medium can be safely removed now."
|
||||
read -r -t 2
|
||||
}
|
||||
# mount kernel filesystems
|
||||
mount -t proc proc /proc -o nosuid,noexec,nodev
|
||||
|
|
Loading…
Reference in a new issue