Indeed, there are some issues to make the fix
based on curtin userdata files effective with
SNAP builds (cannot overwrite user cfg files;
with DEB, dpkg will prompt/interact w/ user).
The other approach in the maasserver code has
other downsides.
So, I'll look for another method to check the
release and configure a mkfs.xfs wrapper that
runs always / not with curtin userdata files.
(and then revert the committed changes.)
I discussed comment #10 with Alexsander today.
Indeed, there are some issues to make the fix
based on curtin userdata files effective with
SNAP builds (cannot overwrite user cfg files;
with DEB, dpkg will prompt/interact w/ user).
The other approach in the maasserver code has
other downsides.
So, I'll look for another method to check the
release and configure a mkfs.xfs wrapper that
runs always / not with curtin userdata files.
(and then revert the committed changes.)