From 3ca039c50a9ef2f599de865a6cca756df32e111c Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 3 Aug 2023 10:15:24 +0200 Subject: [PATCH] remove extra function --- usr/lib/archboot/update/manage.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/lib/archboot/update/manage.sh b/usr/lib/archboot/update/manage.sh index 6d18a2580..b9f5280b9 100644 --- a/usr/lib/archboot/update/manage.sh +++ b/usr/lib/archboot/update/manage.sh @@ -187,7 +187,7 @@ _new_environment() { _clean_kernel_cache [[ -d "${_W_DIR}" ]] || mkdir -p "${_W_DIR}" touch "${_W_DIR}"/.archboot - (_create_container &) + _create_container & _COUNT=2 while [[ -e "${_W_DIR}/.archboot" ]]; do if [[ "${_COUNT}" -lt 49 ]]; then @@ -213,7 +213,7 @@ _new_environment() { _progress "51" "Collecting rootfs files in ${_W_DIR}..." # write initramfs to "${_W_DIR}"/tmp touch "${_W_DIR}"/.archboot - (_collect_files &) + _collect_files & _COUNT=52 while [[ -e "${_W_DIR}/.archboot" ]]; do if [[ "${_COUNT}" -lt 69 ]]; then @@ -289,7 +289,7 @@ _new_environment() { fi _progress "80" "Creating initramfs ${_RAM}/${_INITRD}..." touch "${_W_DIR}"/.archboot - (_create_initramfs &) + _create_initramfs & _COUNT=81 while [[ -e "${_W_DIR}/.archboot" ]]; do if [[ "${_COUNT}" -lt 94 ]]; then