diskimage-builder/bin
Ian Wienand 5e2330d89c Put MKFS_OPTS after filesystem type
mkfs's arguments are

 mkfs [options] [-t type] [fs-options] device [size]

So it seems our MKFS_OPTS are really supposed to be fs-options, rather
than options to mkfs itself.

Why didn't we notice?  It's quite a trap -- mkfs.ext2 has a "-t"
option, so when we're calling

 $ mkfs -i 4096 ... -t ext4 ...

We actually just fall-back to the default from the mkfs wrapper which
is mkfs.ext2 which works!  But when you make that, say, xfs, we're not
calling the right wrapper at all.

Also update documentation

Closes-Bug: #1648287
Change-Id: I3ea5807088ab361bd9c235c07fb1553fbaf9178b
2016-12-09 07:22:38 +11:00
..
dib-lint elements: Drop executable bits from environment files 2016-12-01 23:06:56 +00:00
disk-image-create Put MKFS_OPTS after filesystem type 2016-12-09 07:22:38 +11:00
diskimage_builder Add a simple implementation of element dependency 2013-01-23 16:04:20 -08:00
element-info Use env python 2014-12-08 13:42:16 -08:00
ramdisk-image-create Build ramdisks in an image chroot. 2013-07-12 11:09:35 +01:00