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 15:02:28 +0100 |
commit | 6bc5925ea962ff68dcfac72c221b2445f71c78aa (patch) | |
tree | c6b0d14bcac71786f8c2d1525c65b31996efc6bc /meta/recipes-connectivity/iproute2/iproute2.inc | |
parent | 04ced3d73881a17f2a65b6cd33e303e31519ad6c (diff) | |
download | ast2050-yocto-poky-6bc5925ea962ff68dcfac72c221b2445f71c78aa.zip ast2050-yocto-poky-6bc5925ea962ff68dcfac72c221b2445f71c78aa.tar.gz |
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]
(From OE-Core rev: 26daec758b2eaeb208356d5aa8a9a191bd366751)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2.inc')
0 files changed, 0 insertions, 0 deletions