makedevs: several fixes
authorLu Chong <Chong.Lu@windriver.com>
Tue, 5 Nov 2013 11:49:30 +0000 (19:49 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Nov 2013 17:25:34 +0000 (17:25 +0000)
commitc6f41fd8a3fac49d4f9440e91f52de5397b6ab51
tree87c4b3f275d96addce9dc6d1a770853c546ec604
parentac3fbfa082fdefa17fa44ce0c736577f806ba727
makedevs: several fixes

This patch fixes below issues:

1. In makedevs.c file, it lost related functions definition about "-q" and
"--squash" options. So we should remove help information of these options
from makedevs.c to fix this issue.

2. Previously, It returned nothing when makedevs command be executed with
none or invalid option. We hope to print help information and return non-zero
value.

3. If use '-d' option to pick non-existent dir, error messages should be returned.

(From OE-Core rev: 24089364c3d11665c9ac3210c1fa2488017b6b73)

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/makedevs/makedevs-1.0.0/makedevs.c