Bug 7856 - wic is returning exit code 0 no matter what it does
Summary: wic is returning exit code 0 no matter what it does
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium minor
Target Milestone: 1.9
Assignee: Ed Bartosh
QA Contact: Costin
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-06-08 14:03 UTC by Costin
Modified: 2016-01-19 10:12 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Costin 2015-06-08 14:03:15 UTC
Hello,

Tested on poky: 20a3a36547831349d5d8b429cb35f1415a856bda

Tried to build an image with wic and observed that no matter what i do exit code is the same(except for create command):

build$ wic something
...(the help menu)
build$ echo $?
0
build$ wic --help
...(the help menu)
build$ echo $?
0
build$ wic creat --help
...(the help menu)
build$ echo $?
0

Costin
Comment 1 Ed Bartosh 2015-06-16 12:08:01 UTC
Started to work on it.
Comment 2 Ed Bartosh 2015-06-16 13:29:51 UTC
Here is the fix: http://lists.openembedded.org/pipermail/openembedded-core/2015-June/106149.html
Please, review.
Comment 4 Costin 2016-01-19 10:12:00 UTC
Hello,

Checked against latest poky master:839fb1893546ad58a1f5475a9e852b81afb056d6  and everything is fine no.

Marking as verified