Tails Cloner should reject target devices without enough free space before cloning starts.
While working on #20064 it came to our attention that ordinary clones have the exact same problem:
They will begin cloning but after wiping and partitioning the target, fail with this message:
Partitioning device /dev/sde
Formatting /dev/sde1 as FAT32
Verifying filesystem...
Not enough free space on device.
4409MB ISO + 0MB overlay > 4087MB free space
Tails installation failed!
Not enough free space on device.
4409MB ISO + 0MB overlay > 4087MB free space
Solution: Similar to what is being done with #20064 for the Persistent Storage used, do not populate targets which we know in advance won't create a system partition big enough to store the current Tails.
This error message looks wrong: I created the too large source drive by duplicating an incremental upgrade. Although, if I fix the issue as I did the Clone Persistent Storage case it won't show anymore.
Assignee: I guess I will do this since it's a similar change to tails_installer creator.py and gui.py and I'll add it to !1318.