Skip to content

Commit c12fd90

Browse files
committed
[fix] : Fixed copying to efiboot.img
1 parent 8eac1ec commit c12fd90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ make_efiboot() {
958958
"${_efi_config}" > "${build_dir}/efiboot/loader/entries/$(basename "${_efi_config}" | sed "s|cd|${arch}|g")"
959959
done
960960

961-
cp "${isofs_dir}/EFI/shell"*".efi" "${build_dir}/efiboot/EFI/"
961+
find "${isofs_dir}/EFI" -maxdepth 1 -mindepth 1 -name "shell*.efi" -printf "%p\0" | xargs -0 -I{} cp {} "${build_dir}/efiboot/EFI/"
962962
umount -d "${build_dir}/efiboot"
963963
}
964964

0 commit comments

Comments
 (0)