Comment 8 for bug 1197766

Revision history for this message
Colin Watson (cjwatson) wrote :

Could you please try this patch instead? min_size is a bit too far down the stack to be editing $scheme - doing it in choose_recipe should work better.

Incidentally, $reusemethod is never going to be reliable for a partition containing an ordinary filesystem that doesn't have its own distinct method. It only works properly for specialised partitions such as method{ efi } and method{ swap }. For method{ format }, it's certainly possible that it will work sometimes, but I can't promise that its behaviour is defined. (Of course, ubuntu-recovery may be doing something magic to avoid that problem.) To make this reliable, I think you'd need something like a $reuselabel feature to select the partition to reuse based on the filesystem label, or maybe some other criterion; but that's probably a separate bug.