Skip to content

Commit 040f468

Browse files
committed
[fix] : Fixed the place to put efi shell
1 parent 52b638a commit 040f468

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ make_efi() {
11191119
local _efi_shell _efi_shell_arch
11201120
for _efi_shell in "${work_dir}"/${arch}/airootfs/usr/share/edk2-shell/*; do
11211121
_efi_shell_arch="$(basename ${_efi_shell})"
1122-
cp "${_efi_shell}/Shell_Full.efi" "${isofs_dir}/shell_${_efi_shell_arch}.efi"
1122+
cp "${_efi_shell}/Shell_Full.efi" "${isofs_dir}/EFI/shell_${_efi_shell_arch}.efi"
11231123
cat > "${isofs_dir}/loader/entries/uefi-shell-${_efi_shell_arch}.conf" <<"EOF"
11241124
title UEFI Shell (Full) ${_efi_shell_arch}
11251125
efi /EFI/Shell_Full_${_efi_shell_arch}.efi
@@ -1167,7 +1167,7 @@ make_efiboot() {
11671167
s|%INSTALL_DIR%|${install_dir}|g" \
11681168
"${script_path}/efiboot/loader/entries/archiso-cd.conf" > "${work_dir}/efiboot/loader/entries/archiso-${arch}.conf"
11691169

1170-
cp "${isofs_dir}/shell"*".efi" "${work_dir}/efiboot/"
1170+
cp "${isofs_dir}/EFI/shell"*".efi" "${work_dir}/efiboot/"
11711171

11721172
umount -d "${work_dir}/efiboot"
11731173
}

0 commit comments

Comments
 (0)