adapt sleep times in function

This commit is contained in:
Tobias Powalowski 2023-08-03 10:53:19 +02:00
parent 530c1bf30c
commit ef06f476d9

View file

@ -218,7 +218,7 @@ _new_environment() {
# write initramfs to "${_W_DIR}"/tmp
touch "${_W_DIR}"/.archboot
_collect_files &
_progress_wait "52" "69" "Collecting rootfs files in ${_W_DIR}..." "4"
_progress_wait "52" "69" "Collecting rootfs files in ${_W_DIR}..." "3"
_progress "70" "Cleanup ${_W_DIR}..."
find "${_W_DIR}"/. -mindepth 1 -maxdepth 1 ! -name 'tmp' -exec rm -rf {} \;
_clean_kernel_cache
@ -280,7 +280,7 @@ _new_environment() {
_progress "80" "Creating initramfs ${_RAM}/${_INITRD}..."
touch "${_W_DIR}"/.archboot
_create_initramfs &
_progress_wait "81" "94" "Creating initramfs ${_RAM}/${_INITRD}..." "3"
_progress_wait "81" "94" "Creating initramfs ${_RAM}/${_INITRD}..." "1"
_progress "95" "Cleanup ${_W_DIR}..."
cd /
_kill_w_dir