Refuse to run if framebuffer or dri devices are present

The simpledrm driver, introduced in kernel 5.14,
can replace efifb to provide the efi framebuffer.

This fixes a bug on Fedora 36 (first version to use simpledrm driver):
https://bugzilla.redhat.com/show_bug.cgi?id=2074789

v2: check for framebuffer or dri devices instead of efi framebuffer interface.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
6 jobs for fix_simpledrm_uefi in 1 minute and 13 seconds (queued for 5 seconds)
latest