I can verify that the build in xenial-proposed resolves this bug using
the example config attached.

Running an installation using curtin packed on a system with the current curtin 
release in xenial-updates installation fails.
Curtin release:
  root@tmp:/tmp# apt-cache policy curtin
  curtin:
    Installed: 0.1.0~bzr399-0ubuntu1~16.04.1
    Candidate: 0.1.0~bzr399-0ubuntu1~16.04.1
Failure:
  Unexpected error while running command.
  Command: ['mkfs.xfs', '-s', '1', '-f', '/dev/vdb2']
  Exit code: 1
  Reason: -
  Stdout: ''
  Stderr: 'unknown option -s 1\nUsage: mkfs.xfs\n/* blocksize */\t\t[-b 
log=n|size
  ...

When curtin is packed with the release in proposed, installation works

Curtin release:
  curtin:
    Installed: 0.1.0~bzr425-0ubuntu1~16.04.1
    Candidate: 0.1.0~bzr425-0ubuntu1~16.04.1


** Attachment added: "conf.yaml"
   
https://bugs.launchpad.net/curtin/+bug/1597522/+attachment/4756350/+files/conf.yaml

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1597522

Title:
  curtin passes wrong args to mkfs when making filesystem on advanced
  format disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1597522/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to