fix dialogs

This commit is contained in:
Tobias Powalowski 2023-01-02 15:48:15 +01:00
parent 0fdc0429e4
commit 4c13454d3e

View file

@ -398,7 +398,7 @@ do_efistub_copy_to_efisys() {
fi
_INITRD="${UEFISYS_PATH}/${INITRAMFS}"
# clean and copy to efisys
DIALOG --infobox "Copying kernel, ucode and initramfs to EFI system partition now ..." 3 70
DIALOG --infobox "Copying kernel, ucode and initramfs to EFI system partition now ..." 5 70
! [[ -d "${DESTDIR}/${UEFISYS_MP}/${UEFISYS_PATH}" ]] && mkdir -p "${DESTDIR}/${UEFISYS_MP}/${UEFISYS_PATH}"
rm -f "${DESTDIR}/${UEFISYS_MP}/${_KERNEL}"
cp -f "${DESTDIR}/boot/${VMLINUZ}" "${DESTDIR}/${UEFISYS_MP}/${_KERNEL}"
@ -413,7 +413,7 @@ do_efistub_copy_to_efisys() {
cp -f "${DESTDIR}/boot/${AMD_UCODE}" "${DESTDIR}/${UEFISYS_MP}/${_INITRD_AMD_UCODE}"
fi
sleep 5
DIALOG --infobox "Enable automatic copying of system files to EFI system partition on installed system ..." 3 70
DIALOG --infobox "Enable automatic copying of system files to EFI system partition on installed system ..." 5 70
cat << CONFEOF > "${DESTDIR}/etc/systemd/system/efistub_copy.path"
[Unit]
Description=Copy EFISTUB Kernel and Initramfs files to EFI SYSTEM PARTITION