Bug 8625 - Extensible SDK should prevent users from installing it in locations with special characters
Summary: Extensible SDK should prevent users from installing it in locations with spec...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Low normal
Target Milestone: 2.1
Assignee: Paul Eggleton
QA Contact: Alexandru Georgescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-02 15:50 UTC by Alexandru Georgescu
Modified: 2015-12-02 02:25 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
added preparing build system log (39.59 KB, application/octet-stream)
2015-11-02 16:24 UTC, Alexandru Georgescu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2015-11-02 15:50:26 UTC
If a user specifies a location for the extensible SDK with a special character, the user should be warned and stopped before attempting installation. 

Currently, the SDK continues the install process and informs the user after installation was done that the installation failed.

[alex@fed tmp]$ ./poky-glibc-x86_64-core-image-sato-corei7-64-toolchain-ext-2.0.sh
Poky (Yocto Project Reference Distro) Extensible SDK installer version 2.0
==========================================================================
Enter target directory for SDK (default: ~/poky_sdk): ./sdk$
You are about to install the SDK to "/home/alex/tmp/sdk$". Proceed[Y/n]? Y
Extracting SDK.........................................................................................................done
Setting it up...
Extracting buildtools...
Preparing build system...
SDK preparation failed: see /home/alex/tmp/sdk$/preparing_build_system.log

[alex@fed tmp]$ cd sdk\$/
[alex@fed sdk$]$ . environment-setup-corei7-64-poky-linux
SDK environment now set up; additionally you may now run devtool to perform development tasks.
Run devtool --help for further details.
[alex@fed sdk$]$ devtool --help
ImportError: No module named site
[alex@fed sdk$]$
Comment 1 Alexandru Georgescu 2015-11-02 16:24:34 UTC
Created attachment 2836 [details]
added preparing build system log