mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add progress to initramfs collecting
This commit is contained in:
parent
0e481aa839
commit
5a2bd78e4f
1 changed files with 2 additions and 2 deletions
|
@ -184,7 +184,7 @@ _new_environment() {
|
||||||
(_create_container &)
|
(_create_container &)
|
||||||
sleep 1
|
sleep 1
|
||||||
while [[ -e "${_W_DIR}/.archboot" ]]; do
|
while [[ -e "${_W_DIR}/.archboot" ]]; do
|
||||||
if [[ "${_COUNT}" -gt 2 && "${_COUNT}" -lt 49 ]]; then
|
if [[ "${_COUNT}" -lt 49 ]]; then
|
||||||
_progress "$((_COUNT))" "Generating container in ${_W_DIR}..."
|
_progress "$((_COUNT))" "Generating container in ${_W_DIR}..."
|
||||||
fi
|
fi
|
||||||
if [[ "${_COUNT}" -gt 49 ]]; then
|
if [[ "${_COUNT}" -gt 49 ]]; then
|
||||||
|
@ -212,7 +212,7 @@ _new_environment() {
|
||||||
rm "${_W_DIR}"/.archboot &)
|
rm "${_W_DIR}"/.archboot &)
|
||||||
_COUNT=52
|
_COUNT=52
|
||||||
while [[ -e "${_W_DIR}/.archboot" ]]; do
|
while [[ -e "${_W_DIR}/.archboot" ]]; do
|
||||||
if [[ "${_COUNT}" -gt 52 && "${_COUNT}" -lt 69 ]]; then
|
if [[ "${_COUNT}" -lt 69 ]]; then
|
||||||
_progress "$((_COUNT))" "Collecting rootfs files in ${_W_DIR}..."
|
_progress "$((_COUNT))" "Collecting rootfs files in ${_W_DIR}..."
|
||||||
fi
|
fi
|
||||||
if [[ "${_COUNT}" -gt 69 ]]; then
|
if [[ "${_COUNT}" -gt 69 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue