mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
adapt sleep times in function
This commit is contained in:
parent
530c1bf30c
commit
ef06f476d9
1 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ _new_environment() {
|
||||||
# write initramfs to "${_W_DIR}"/tmp
|
# write initramfs to "${_W_DIR}"/tmp
|
||||||
touch "${_W_DIR}"/.archboot
|
touch "${_W_DIR}"/.archboot
|
||||||
_collect_files &
|
_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}..."
|
_progress "70" "Cleanup ${_W_DIR}..."
|
||||||
find "${_W_DIR}"/. -mindepth 1 -maxdepth 1 ! -name 'tmp' -exec rm -rf {} \;
|
find "${_W_DIR}"/. -mindepth 1 -maxdepth 1 ! -name 'tmp' -exec rm -rf {} \;
|
||||||
_clean_kernel_cache
|
_clean_kernel_cache
|
||||||
|
@ -280,7 +280,7 @@ _new_environment() {
|
||||||
_progress "80" "Creating initramfs ${_RAM}/${_INITRD}..."
|
_progress "80" "Creating initramfs ${_RAM}/${_INITRD}..."
|
||||||
touch "${_W_DIR}"/.archboot
|
touch "${_W_DIR}"/.archboot
|
||||||
_create_initramfs &
|
_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}..."
|
_progress "95" "Cleanup ${_W_DIR}..."
|
||||||
cd /
|
cd /
|
||||||
_kill_w_dir
|
_kill_w_dir
|
||||||
|
|
Loading…
Reference in a new issue