From df243be1634fe43c3e4700371de54941e5928525 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 18 Jun 2022 11:25:18 +0200 Subject: [PATCH] copy kernel instead of moving --- usr/bin/archboot-update-installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/archboot-update-installer.sh b/usr/bin/archboot-update-installer.sh index 0e595c033..a3ea88cd7 100755 --- a/usr/bin/archboot-update-installer.sh +++ b/usr/bin/archboot-update-installer.sh @@ -53,8 +53,8 @@ if [[ "${_L_COMPLETE}" == "1" || "${_L_INSTALL_COMPLETE}" == "1" ]]; then # 10 seconds for getting free RAM _clean_kernel_cache sleep 10 - echo -e "\033[1mStep 4/9:\033[0m Moving kernel ${VMLINUZ} to /${VMLINUZ} ..." - mv "${_W_DIR}"/boot/${VMLINUZ} / || exit 1 + echo -e "\033[1mStep 4/9:\033[0m Copy kernel ${VMLINUZ} to /${VMLINUZ} ..." + cp "${_W_DIR}"/boot/${VMLINUZ} / || exit 1 [[ ${_RUNNING_ARCH} == "x86_64" ]] && _kver_x86 [[ ${_RUNNING_ARCH} == "aarch64" ]] && _kver_generic echo -e "\033[1mStep 5/9:\033[0m Collect initramfs files in ${_W_DIR} ..."