]> code.ossystems Code Review - openembedded-core.git/commit
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:24:51 +0000 (17:24 +0000)
commit24089364c3d11665c9ac3210c1fa2488017b6b73
treed27b249ed747e5f0ff547eb43281200cc44955ec
parent9fb82ebab552d1808bae3b4898dd05022913165b
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.

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