diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-09-25 19:35:46 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-26 14:54:27 +0100 |
commit | 26daec758b2eaeb208356d5aa8a9a191bd366751 (patch) | |
tree | 6e0f3c9f29800415256972d89e56feff82fc75be /meta/recipes-connectivity | |
parent | 99974820c8b12b1c1b05ab8a96f1b25b8e3888da (diff) | |
download | openembedded-core-26daec758b2eaeb208356d5aa8a9a191bd366751.tar.gz openembedded-core-26daec758b2eaeb208356d5aa8a9a191bd366751.tar.bz2 openembedded-core-26daec758b2eaeb208356d5aa8a9a191bd366751.zip |
SDK: trap any IO errors in the relocate script
If the files being relocated are already used by other processes the
relocate script will fail with a traceback. This patch will trap any IO
errors when opening such a file and gracefully report them to the user.
Also change the exit code from 1 to -1 for a better adt-installer user
experience (like pointing the user to the adt_installer.log).
[YOCTO #3164]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
0 files changed, 0 insertions, 0 deletions