package/mke2img: specifying zero inodes means auto
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 3 Jul 2017 22:50:56 +0000 (00:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Jul 2017 06:46:18 +0000 (08:46 +0200)
commit9b5df8f2c3c4e0aa4bca8af0cb05594063725d46
treed7a29ecac9f5b5b3839300366400f04cc98f4c64
parent12a9fb947c7b642b418c2615530207883a246ac3
package/mke2img: specifying zero inodes means auto

Currently, leaving the number of inodes to be autocalculated requires
the user to not specify the -i option at all.

Also accept zero as meaning auto; this will help simplify the ext2.mk
code a little bit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mke2img/mke2img