Hi Vincent, On 2021-06-20 10:54, Vincent Danjean wrote: > Would someone give a feedback to the (old) patch proposed > in #913431 in order to be able to also use power-of-two units > in the Debian Installer?
It took a while, sorry about that. :) There is (now) a function in partman-base called valid_human [1] which checks if the partition size specified by the user is valid. Probably when you first wrote the patch this wasn't the case. That function needs to be modified as well to accept GiB and friends. [1] https://salsa.debian.org/installer-team/partman-base/-/blob/master/lib/base.sh#L373