mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-11 05:10:05 +00:00
Extract exclusion for unpartitioned block device of partitioned media to gui_functions, and exclude them even if kernel hasn't listed the partitions yet. (Fixes flash/USB boot prompts incorrectly trying to use the whole device for partitioned media the first time.) Ignore block devices of size 0, like empty USB SD card readers. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>