mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
copy kernel instead of moving
This commit is contained in:
parent
f0e97c335c
commit
df243be163
1 changed files with 2 additions and 2 deletions
|
@ -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} ..."
|
||||
|
|
Loading…
Reference in a new issue