This looks mostly OK to me. Do you need to invoke parted at all though? I guess
if you let sfdisk do it all, you have to do the resizefs calls downs before the
sfdisk invocation and the resize ups after. I think I'd still prefer that
though. WDYT?
Also this clearly only works for ext{2,3,4} filesystems. What's the long term
plan there?
--
https://code.launchpad.net/~dbungert/curtin/+git/curtin/+merge/417829
Your team curtin developers is requested to review the proposed merge of
~dbungert/curtin:resize into curtin:master.
--
Mailing list: https://launchpad.net/~curtin-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~curtin-dev
More help : https://help.launchpad.net/ListHelp