We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eac1ec commit c12fd90Copy full SHA for c12fd90
1 file changed
build.sh
@@ -958,7 +958,7 @@ make_efiboot() {
958
"${_efi_config}" > "${build_dir}/efiboot/loader/entries/$(basename "${_efi_config}" | sed "s|cd|${arch}|g")"
959
done
960
961
- cp "${isofs_dir}/EFI/shell"*".efi" "${build_dir}/efiboot/EFI/"
+ find "${isofs_dir}/EFI" -maxdepth 1 -mindepth 1 -name "shell*.efi" -printf "%p\0" | xargs -0 -I{} cp {} "${build_dir}/efiboot/EFI/"
962
umount -d "${build_dir}/efiboot"
963
}
964
0 commit comments