I'm not sure it's the best solution, maybe upstream's 10_linux should be used instead? Are there still good reasons to maintain a separate file specifically for Ubuntu. For instance, Debian seems to handle ZFS properly with 10_linux.
EDIT: please disregard this and read my next comment.
The following patch fixes this by excluding the efi directory from the "ls" call. It applies on https:/ /git.launchpad. net/~ubuntu- core-dev/ grub/+git/ ubuntu/ tag/?h= debian/ 2.12-5ubuntu10
I'm not sure it's the best solution, maybe upstream's 10_linux should be used instead? Are there still good reasons to maintain a separate file specifically for Ubuntu. For instance, Debian seems to handle ZFS properly with 10_linux.
EDIT: please disregard this and read my next comment.