| Summary: |
wrong message for directory displayed in case of error |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu> |
| Component: |
devtools / tool chain | Assignee: |
Paul Eggleton <bluelightning> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
meta.mr.watcher, meta.watcher
|
| Version: |
2.1 | |
|
| Target Milestone: |
2.1 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
New (Never tested)
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
1) Build the ext SDK for core-image-minimal: bitbake -c populate_sdk_ext core-image-minimal 2) Publish the SDK: oe-publish-sdk <path to SDK installer> <temp path> Use only the path to SDK installer (not including the installer name) An error is displayed (also no verification ahead); the message is unclear and contains the destination directory (the destination directory is ok). Message should be like this: SDK installer path is a directory; please include the file name. Example: $ mkdir ~/tmp (or any temp dir) $ oe-publish-sdk tmp/deploy/sdk/ ~/tmp INFO: Copying the SDK to destination Traceback (most recent call last): File "/home/yocto/yocto/poky-test/poky/scripts/oe-publish-sdk", line 139, in <module> ret = main() File "/home/yocto/yocto/poky-test/poky/scripts/oe-publish-sdk", line 134, in main ret = args.func(args) File "/home/yocto/yocto/poky-test/poky/scripts/oe-publish-sdk", line 72, in publish os.remove(dest_sdk) OSError: [Errno 21] Is a directory: '/home/yocto/tmp/'