File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -896,10 +896,9 @@ make_isolinux() {
896896# Prepare /EFI
897897make_efi () {
898898 mkdir -p " ${isofs_dir} /EFI/boot"
899- (
900- local __bootfile=" $( basename " $( ls " ${airootfs_dir} /usr/lib/systemd/boot/efi/systemd-boot" * " .efi" ) " ) "
901- cp " ${airootfs_dir} /usr/lib/systemd/boot/efi/${__bootfile} " " ${isofs_dir} /EFI/boot/${__bootfile# systemd-} "
902- )
899+
900+ local _bootfile=" $( basename " $( ls " ${airootfs_dir} /usr/lib/systemd/boot/efi/systemd-boot" * " .efi" ) " ) "
901+ cp " ${airootfs_dir} /usr/lib/systemd/boot/efi/${_bootfile} " " ${isofs_dir} /EFI/boot/${_bootfile# systemd-} "
903902
904903 local _use_config_name
905904 if [[ " ${boot_splash} " = true ]]; then
@@ -967,10 +966,11 @@ make_efiboot() {
967966 done
968967
969968 mkdir -p " ${work_dir} /efiboot/EFI/boot"
970- (
971- local __bootfile=" $( basename " $( ls " ${airootfs_dir} /usr/lib/systemd/boot/efi/systemd-boot" * " .efi" ) " ) "
972- cp " ${airootfs_dir} /usr/lib/systemd/boot/efi/${__bootfile} " " ${work_dir} /efiboot/EFI/boot/${__bootfile# systemd-} "
973- )
969+ cp " ${work_dir} /x86_64/airootfs/usr/share/efitools/efi/PreLoader.efi" " ${work_dir} /efiboot/EFI/boot/bootx64.efi"
970+ cp " ${work_dir} /x86_64/airootfs/usr/share/efitools/efi/HashTool.efi" " ${work_dir} /efiboot/EFI/boot/"
971+
972+ local _bootfile=" $( basename " $( ls " ${airootfs_dir} /usr/lib/systemd/boot/efi/systemd-boot" * " .efi" ) " ) "
973+ cp " ${airootfs_dir} /usr/lib/systemd/boot/efi/${_bootfile} " " ${work_dir} /efiboot/EFI/boot/${_bootfile# systemd-} "
974974
975975 local _use_config_name
976976 if [[ " ${boot_splash} " = true ]]; then
You can’t perform that action at this time.
0 commit comments